diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-09-05 15:06:13 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-09-05 15:06:13 +0100 |
commit | 5ade977d0836a9d7615b4e8cc578c48a26198ee8 (patch) | |
tree | 2d180090a24309cb5084cbf0c85769fd4f367e15 /synapse | |
parent | newsfile (diff) | |
download | synapse-5ade977d0836a9d7615b4e8cc578c48a26198ee8.tar.xz |
Opentracing context cannot be none
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/devices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py index 41f62828bd..79a58df591 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py @@ -856,7 +856,7 @@ class DeviceStore(DeviceWorkerStore, BackgroundUpdateStore): "ts": now, "opentracing_context": json.dumps(context) if whitelisted_homeserver(destination) - else None, + else "{}", } for destination in hosts for device_id in device_ids |