summary refs log tree commit diff
path: root/synapse/rest/client/v1/room.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-10-13 17:22:50 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-10-13 17:22:50 +0100
commitb68db6122263e7056a9805f5d0569d445b64fff8 (patch)
tree6879199d310100f9ac655f7dd980a1fa8bdd04e2 /synapse/rest/client/v1/room.py
parentRe-add accidentally removed code (diff)
downloadsynapse-b68db6122263e7056a9805f5d0569d445b64fff8.tar.xz
Add logging
Diffstat (limited to 'synapse/rest/client/v1/room.py')
-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