mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 19:44:06 +00:00
Reraise exception
This commit is contained in:
1 parent
ff2d7551c7
commit
72165e5b77
1 file changed
+1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user