Skip to content
Snippets Groups Projects
Unverified Commit 86af6b2f authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Add a comment in _process_received_pdu (#11011)

parent 52aefd50
No related branches found
No related tags found
No related merge requests found
Clean up some of the federation event authentication code for clarity.
......@@ -894,6 +894,9 @@ class FederationEventHandler:
backfilled=backfilled,
)
except AuthError as e:
# FIXME richvdh 2021/10/07 I don't think this is reachable. Let's log it
# for now
logger.exception("Unexpected AuthError from _check_event_auth")
raise FederationError("ERROR", e.code, e.msg, affected=event.event_id)
await self._run_push_actions_and_persist_event(event, context, backfilled)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment