summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-09-11 14:28:57 +0100
committerErik Johnston <erik@matrix.org>2015-09-17 10:26:03 +0100
commit3a01901d6c59f540540e00835f0716dfa7f03846 (patch)
tree8b3ab24f98e4ac50c8c3dae9e12aeb25e5de766d /synapse
parentAlso handle state (diff)
downloadsynapse-3a01901d6c59f540540e00835f0716dfa7f03846.tar.xz
Capture err
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index b148af5390..fd8a86ea99 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1030,10 +1030,10 @@ class FederationHandler(BaseHandler):
 
             try:
                 self.auth.check(e, auth_events=a)
-            except AuthError:
+            except AuthError as err:
                 logger.warn(
                     "Rejecting %s because %s",
-                    e.event_id, e.msg
+                    e.event_id, err.msg
                 )
 
                 if e == event: