mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 05:00:20 +00:00
Reraise exception
This commit is contained in:
parent
ff2d7551c7
commit
72165e5b77
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue