diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-10-13 17:22:50 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-10-13 17:22:50 +0100 |
commit | b68db6122263e7056a9805f5d0569d445b64fff8 (patch) | |
tree | 6879199d310100f9ac655f7dd980a1fa8bdd04e2 | |
parent | Re-add accidentally removed code (diff) | |
download | synapse-b68db6122263e7056a9805f5d0569d445b64fff8.tar.xz |
Add logging
-rw-r--r-- | synapse/rest/client/v1/room.py | 4 |
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 |