mirror of
https://github.com/element-hq/synapse
synced 2024-09-01 16:50:20 +00:00
Bubble up SynapseErrors so expected failures aren't masked.
This commit is contained in:
parent
581c54bebe
commit
beaf50f5c6
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ class ClientDirectoryServer(RestServlet):
|
|||
yield dir_handler.create_association(
|
||||
room_alias, room_id, servers
|
||||
)
|
||||
except SynapseError as e:
|
||||
raise e
|
||||
except:
|
||||
logger.exception("Failed to create association")
|
||||
|
||||
|
|
Loading…
Reference in a new issue