mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 08:59:25 -05:00
Bubble up SynapseErrors so expected failures aren't masked.
This commit is contained in:
parent
581c54bebe
commit
beaf50f5c6
@ -71,6 +71,8 @@ class ClientDirectoryServer(RestServlet):
|
|||||||
yield dir_handler.create_association(
|
yield dir_handler.create_association(
|
||||||
room_alias, room_id, servers
|
room_alias, room_id, servers
|
||||||
)
|
)
|
||||||
|
except SynapseError as e:
|
||||||
|
raise e
|
||||||
except:
|
except:
|
||||||
logger.exception("Failed to create association")
|
logger.exception("Failed to create association")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user