diff --git a/judge/caching.py b/judge/caching.py index b8fec83..b8fb810 100644 --- a/judge/caching.py +++ b/judge/caching.py @@ -43,10 +43,7 @@ def cache_wrapper(prefix, timeout=None): result = func(*args, **kwargs) if result is None: result = NONE_RESULT - try: - cache.set(cache_key, result, timeout) - except: - pass + cache.set(cache_key, result, timeout) return result def dirty(*args, **kwargs):