summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-03 11:23:44 +0000
committerErik Johnston <erik@matrix.org>2015-02-03 11:23:44 +0000
commit06c34bfbaee553b851e0f02d8e17d5bff7360376 (patch)
treecb93524f2a2a6d97653dcc452b705a54d5ce6256
parentAdd FIXME note. (diff)
downloadsynapse-06c34bfbaee553b851e0f02d8e17d5bff7360376.tar.xz
Give exception better message
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 322c1b407d..9d7557f578 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -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