mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 10:19:21 -05:00
Fix "There was no active span when trying to log." error (#7698)
This commit is contained in:
parent
7d2532be36
commit
4241a10673
1
changelog.d/7698.bugfix
Normal file
1
changelog.d/7698.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix logged error during device resync in opentracing. Broke in v1.14.0.
|
@ -691,6 +691,7 @@ class DeviceListUpdater(object):
|
|||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@trace
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _maybe_retry_device_resync(self):
|
def _maybe_retry_device_resync(self):
|
||||||
"""Retry to resync device lists that are out of sync, except if another retry is
|
"""Retry to resync device lists that are out of sync, except if another retry is
|
||||||
|
Loading…
Reference in New Issue
Block a user