summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v1/room.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index 1cb6ba4f1f..2cb40df80b 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -498,8 +498,8 @@ class RoomMembershipRestServlet(ClientV1RestServlet):
             if "mxid" in data:
                 # TODO: Validate the response signature and such
                 defer.returnValue(data["mxid"])
-        except IOError:
-            # TODO: Log something maybe?
+        except IOError as e:
+            logger.warn("Error from identity server lookup: %s" % (e,))
             defer.returnValue(None)
 
     @defer.inlineCallbacks