From b6f56656ab95b26fdbaccdcf94d77211688732c7 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 3 Aug 2022 00:10:14 -0500 Subject: Use latested Twisted from source to fix contextvar issues causing OTEL `Failed to detach context` errors See https://github.com/matrix-org/synapse/pull/13400#discussion_r936195492 --- synapse/logging/context.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'synapse/logging/context.py') diff --git a/synapse/logging/context.py b/synapse/logging/context.py index dde9c151f5..a417b13ffd 100644 --- a/synapse/logging/context.py +++ b/synapse/logging/context.py @@ -330,8 +330,10 @@ class LoggingContext: @classmethod def current_context(cls) -> LoggingContextOrSentinel: """Get the current logging context from thread local storage + This exists for backwards compatibility. ``current_context()`` should be called directly. + Returns: LoggingContext: the current logging context """ -- cgit 1.5.1