summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-05 16:11:54 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-05 16:11:54 +0100
commiteee4eff050a7708d38e95cbc6533d44e4ef5b6cd (patch)
tree83f09a8d987d0d335fe7f66c17568d418422b458
parentMerge remote-tracking branch 'origin/develop' into joriks/opentracing_e2e (diff)
downloadsynapse-eee4eff050a7708d38e95cbc6533d44e4ef5b6cd.tar.xz
Bind exception to name
-rw-r--r--synapse/handlers/device.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 486d52bead..d7e1935d0f 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -654,7 +654,7 @@ class DeviceListUpdater(object):
             opentracing.log_kv({"reason": "FederationDeniedError"})
             logger.info(e)
             return
-        except Exception:
+        except Exception as e:
             # TODO: Remember that we are now out of sync and try again
             # later
             opentracing.set_tag("error", True)