diff options
Diffstat (limited to 'synapse/rest/directory.py')
-rw-r--r-- | synapse/rest/directory.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/directory.py b/synapse/rest/directory.py index d02b15395b..65aa2196c2 100644 --- a/synapse/rest/directory.py +++ b/synapse/rest/directory.py @@ -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") |