mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 11:14:21 -05:00
Give exception better message
This commit is contained in:
parent
4ff2273b30
commit
06c34bfbae
@ -1000,7 +1000,7 @@ class FederationHandler(BaseHandler):
|
|||||||
if reason is None:
|
if reason is None:
|
||||||
# FIXME: ERRR?!
|
# FIXME: ERRR?!
|
||||||
logger.warn("Could not find reason for %s", e.event_id)
|
logger.warn("Could not find reason for %s", e.event_id)
|
||||||
raise RuntimeError("")
|
raise RuntimeError("Could not find reason for %s" % e.event_id)
|
||||||
|
|
||||||
reason_map[e.event_id] = reason
|
reason_map[e.event_id] = reason
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user