diff options
author | Shay <hillerys@element.io> | 2021-12-20 04:18:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 12:18:09 +0000 |
commit | 8ad39438fafef653d019e3214037c96257507e55 (patch) | |
tree | d4f3c38900286feba9172b2602c27a59ce8652a1 /synapse/logging/scopecontextmanager.py | |
parent | Add type hints to `synapse/tests/rest/admin` (#11590) (diff) | |
download | synapse-8ad39438fafef653d019e3214037c96257507e55.tar.xz |
Add opentracing types (#11603)
Diffstat (limited to '')
-rw-r--r-- | synapse/logging/scopecontextmanager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/logging/scopecontextmanager.py b/synapse/logging/scopecontextmanager.py index b1e8e08fe9..db8ca2c049 100644 --- a/synapse/logging/scopecontextmanager.py +++ b/synapse/logging/scopecontextmanager.py @@ -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 |