diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-09 10:09:56 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-09 10:09:56 +0100 |
commit | bf7598f582cdfbd7db0fed55afce28bcc51a4801 (patch) | |
tree | e9187ad4117023f2fc47a4ebb70cecc47cff5cd6 /synapse | |
parent | Don't fail requests to unbind 3pids for non supporting ID servers (diff) | |
download | synapse-bf7598f582cdfbd7db0fed55afce28bcc51a4801.tar.xz |
Log when we 3pid/unbind request fails
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/identity.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py index a0f5fecc96..5feb3f22a6 100644 --- a/synapse/handlers/identity.py +++ b/synapse/handlers/identity.py @@ -188,8 +188,10 @@ class IdentityHandler(BaseHandler): except HttpResponseException as e: if e.code in (400, 404, 501,): # The remote server probably doesn't support unbinding (yet) + logger.warn("Received %d response while unbinding threepid", e.code) defer.returnValue(False) else: + logger.error("Failed to unbind threepid on identity server: %s", e) raise SynapseError(502, "Failed to contact identity server") defer.returnValue(True) |