0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 15:01:23 +01:00

Reraise exception

This commit is contained in:
Erik Johnston 2016-03-01 11:00:10 +00:00
parent ff2d7551c7
commit 72165e5b77

View file

@ -81,6 +81,7 @@ class ExpiringCache(object):
cache_counter.inc_hits(self._cache_name) cache_counter.inc_hits(self._cache_name)
except KeyError: except KeyError:
cache_counter.inc_misses(self._cache_name) cache_counter.inc_misses(self._cache_name)
raise
if self._reset_expiry_on_get: if self._reset_expiry_on_get:
entry.time = self._clock.time_msec() entry.time = self._clock.time_msec()