summary refs log tree commit diff
path: root/synapse/util/caches/expiringcache.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-01 11:00:10 +0000
committerErik Johnston <erik@matrix.org>2016-03-01 11:00:10 +0000
commit72165e5b779709ea6724f6dd2081027c0818276b (patch)
treecd0f1fbec82439b580c1416dcfe266733c83e884 /synapse/util/caches/expiringcache.py
parentCorrect cache miss detection (diff)
downloadsynapse-72165e5b779709ea6724f6dd2081027c0818276b.tar.xz
Reraise exception
Diffstat (limited to 'synapse/util/caches/expiringcache.py')
-rw-r--r--synapse/util/caches/expiringcache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/util/caches/expiringcache.py b/synapse/util/caches/expiringcache.py
index 55ba1c08c0..e863a8f8a9 100644
--- a/synapse/util/caches/expiringcache.py
+++ b/synapse/util/caches/expiringcache.py
@@ -81,6 +81,7 @@ class ExpiringCache(object):
             cache_counter.inc_hits(self._cache_name)
         except KeyError:
             cache_counter.inc_misses(self._cache_name)
+            raise
 
         if self._reset_expiry_on_get:
             entry.time = self._clock.time_msec()