diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-08-05 16:11:54 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-08-05 16:11:54 +0100 |
commit | eee4eff050a7708d38e95cbc6533d44e4ef5b6cd (patch) | |
tree | 83f09a8d987d0d335fe7f66c17568d418422b458 | |
parent | Merge remote-tracking branch 'origin/develop' into joriks/opentracing_e2e (diff) | |
download | synapse-eee4eff050a7708d38e95cbc6533d44e4ef5b6cd.tar.xz |
Bind exception to name
-rw-r--r-- | synapse/handlers/device.py | 2 |
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) |