mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-30 17:36:35 -05:00
Fix error reporting when using opentracing.trace (#7961)
This commit is contained in:
parent
84d099ae11
commit
1ef9efc1e0
3 changed files with 4 additions and 12 deletions
|
|
@ -116,6 +116,8 @@ class _LogContextScope(Scope):
|
|||
if self._enter_logcontext:
|
||||
self.logcontext.__enter__()
|
||||
|
||||
return self
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
if type == twisted.internet.defer._DefGen_Return:
|
||||
super(_LogContextScope, self).__exit__(None, None, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue