mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-11 07:31:52 -05:00
Add opentracing types (#11603)
This commit is contained in:
parent
8428ef66c7
commit
8ad39438fa
5 changed files with 18 additions and 13 deletions
|
|
@ -71,7 +71,7 @@ class LogContextScopeManager(ScopeManager):
|
|||
if not ctx:
|
||||
# We don't want this scope to affect.
|
||||
logger.error("Tried to activate scope outside of loggingcontext")
|
||||
return Scope(None, span)
|
||||
return Scope(None, span) # type: ignore[arg-type]
|
||||
elif ctx.scope is not None:
|
||||
# We want the logging scope to look exactly the same so we give it
|
||||
# a blank suffix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue