We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d61501 commit 71d2ab4Copy full SHA for 71d2ab4
opentelemetry-api/src/opentelemetry/context/__init__.py
@@ -156,7 +156,7 @@ def detach(token: object) -> None:
156
try:
157
_RUNTIME_CONTEXT.detach(token) # type: ignore
158
except Exception: # pylint: disable=broad-except
159
- logger.error("Failed to detach context")
+ logger.exception("Failed to detach context")
160
161
162
# FIXME This is a temporary location for the suppress instrumentation key.
0 commit comments