Capture err

This commit is contained in:
Erik Johnston 2015-09-11 14:28:57 +01:00
parent 744e7d2790
commit 3a01901d6c
1 changed files with 2 additions and 2 deletions

View File

@ -1030,10 +1030,10 @@ class FederationHandler(BaseHandler):
try: try:
self.auth.check(e, auth_events=a) self.auth.check(e, auth_events=a)
except AuthError: except AuthError as err:
logger.warn( logger.warn(
"Rejecting %s because %s", "Rejecting %s because %s",
e.event_id, e.msg e.event_id, err.msg
) )
if e == event: if e == event: