summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-08-06 14:05:41 +0100
committerGitHub <noreply@github.com>2021-08-06 14:05:41 +0100
commit60f0534b6e910a497800da2454638bcf4aae006e (patch)
treec169769a547d9fd8a6e4ac2bce2e18fc3d1266fd /synapse/federation
parentClean up federation event auth code (#10539) (diff)
downloadsynapse-60f0534b6e910a497800da2454638bcf4aae006e.tar.xz
Fix exceptions in logs when failing to get remote room list (#10541)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/federation_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index 007d1a27dc..2eefac04fd 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -1108,7 +1108,8 @@ class FederationClient(FederationBase):
             The response from the remote server.
 
         Raises:
-            HttpResponseException: There was an exception returned from the remote server
+            HttpResponseException / RequestSendFailed: There was an exception
+                returned from the remote server
             SynapseException: M_FORBIDDEN when the remote server has disallowed publicRoom
                 requests over federation