We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b59073 commit ca2185cCopy full SHA for ca2185c
sentry_sdk/integrations/threading.py
@@ -115,7 +115,8 @@ def _run_old_run_func():
115
with sentry_sdk.use_scope(current_scope_to_use):
116
return _run_old_run_func()
117
else:
118
- with sentry_sdk.isolation_scope():
+ with sentry_sdk.isolation_scope() as scope:
119
+ scope.clear()
120
121
122
return run # type: ignore
0 commit comments