mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix exception when failing to get remote room list (#10414)
This commit is contained in:
parent
eebfd024e9
commit
f3ac9c6750
1
changelog.d/10414.bugfix
Normal file
1
changelog.d/10414.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix a number of logged errors caused by remote servers being down.
|
@ -383,7 +383,11 @@ class RoomListHandler(BaseHandler):
|
||||
):
|
||||
logger.debug("Falling back to locally-filtered /publicRooms")
|
||||
else:
|
||||
raise # Not an error that should trigger a fallback.
|
||||
# Not an error that should trigger a fallback.
|
||||
raise SynapseError(502, "Failed to fetch room list")
|
||||
except RequestSendFailed:
|
||||
# Not an error that should trigger a fallback.
|
||||
raise SynapseError(502, "Failed to fetch room list")
|
||||
|
||||
# if we reach this point, then we fall back to the situation where
|
||||
# we currently don't support searching across federation, so we have
|
||||
|
Loading…
Reference in New Issue
Block a user