0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:13:50 +01:00

Bubble up SynapseErrors so expected failures aren't masked.

This commit is contained in:
Kegan Dougal 2014-09-03 16:31:01 +01:00
parent 581c54bebe
commit beaf50f5c6

View file

@ -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")