Fix "There was no active span when trying to log." error (#7698)
This commit is contained in:
parent
7d2532be36
commit
4241a10673
|
@ -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