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

Fix failure to fetch batches of PDUs (#5342)

FederationClient.get_pdu is called in a loop to fetch a batch of PDUs. A
failure to fetch one should not result in a failure of the whole batch. Add the
missing `continue`.
parent b4189b11
No related branches found
No related tags found
No related merge requests found
Fix failure when fetching batches of events during backfill, etc.
......@@ -279,6 +279,7 @@ class FederationClient(FederationBase):
"Failed to get PDU %s from %s because %s",
event_id, destination, e,
)
continue
except NotRetryingDestination as e:
logger.info(str(e))
continue
......
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