mirror of
https://github.com/element-hq/synapse
synced 2024-09-17 07:15:10 +00:00
Capture err
This commit is contained in:
parent
744e7d2790
commit
3a01901d6c
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue