Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix "There was no active span when trying to log." error #7698

Merged
merged 3 commits into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7698.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix logged error during device resync in opentracing. Broke in v1.14.0.
1 change: 1 addition & 0 deletions synapse/handlers/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ def _need_to_do_resync(self, user_id, updates):

return False

@trace
@defer.inlineCallbacks
def _maybe_retry_device_resync(self):
"""Retry to resync device lists that are out of sync, except if another retry is
Expand Down