Capture err
This commit is contained in:
parent
744e7d2790
commit
3a01901d6c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue