mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 14:04:47 -04:00
Add logging
This commit is contained in:
parent
bb407cd624
commit
b68db61222
1 changed files with 2 additions and 2 deletions
|
@ -498,8 +498,8 @@ class RoomMembershipRestServlet(ClientV1RestServlet):
|
||||||
if "mxid" in data:
|
if "mxid" in data:
|
||||||
# TODO: Validate the response signature and such
|
# TODO: Validate the response signature and such
|
||||||
defer.returnValue(data["mxid"])
|
defer.returnValue(data["mxid"])
|
||||||
except IOError:
|
except IOError as e:
|
||||||
# TODO: Log something maybe?
|
logger.warn("Error from identity server lookup: %s" % (e,))
|
||||||
defer.returnValue(None)
|
defer.returnValue(None)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue