Capture err

This commit is contained in:
Erik Johnston 2015-09-11 14:28:57 +01:00
parent 744e7d2790
commit 3a01901d6c

View File

@ -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: