summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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: