mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 03:14:28 -05:00
A pair of tiny cleanups in the federation request code. (#8401)
This commit is contained in:
parent
4b3a1faa08
commit
450ec48445
1
changelog.d/8401.misc
Normal file
1
changelog.d/8401.misc
Normal file
@ -0,0 +1 @@
|
||||
A pair of tiny cleanups in the federation request code.
|
@ -281,7 +281,7 @@ class FederationHandler(BaseHandler):
|
||||
raise Exception(
|
||||
"Error fetching missing prev_events for %s: %s"
|
||||
% (event_id, e)
|
||||
)
|
||||
) from e
|
||||
|
||||
# Update the set of things we've seen after trying to
|
||||
# fetch the missing stuff
|
||||
|
@ -473,8 +473,6 @@ class MatrixFederationHttpClient:
|
||||
)
|
||||
|
||||
response = await request_deferred
|
||||
except TimeoutError as e:
|
||||
raise RequestSendFailed(e, can_retry=True) from e
|
||||
except DNSLookupError as e:
|
||||
raise RequestSendFailed(e, can_retry=retry_on_dns_fail) from e
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user