Give exception better message

pull/47/head
Erik Johnston 2015-02-03 11:23:44 +00:00
parent 4ff2273b30
commit 06c34bfbae
1 changed files with 1 additions and 1 deletions

View File

@ -1000,7 +1000,7 @@ class FederationHandler(BaseHandler):
if reason is None:
# FIXME: ERRR?!
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