A pair of tiny cleanups in the federation request code. (#8401)

This commit is contained in:
Richard van der Hoff 2020-09-28 13:15:00 +01:00 committed by GitHub
parent 4b3a1faa08
commit 450ec48445
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -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: