Thanks to visit codestin.com Credit goes to github.com
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 6bee450 commit 6d91f3fCopy full SHA for 6d91f3f
sentry_sdk/integrations/celery.py
@@ -97,7 +97,9 @@ def _inner(*args, **kwargs):
97
# something such as attribute access can fail.
98
scope.transaction = task.name
99
100
- with hub.trace(Span.continue_from_headers(args[3].get("headers") or {})):
+ with hub.trace(
101
+ span=Span.continue_from_headers(args[3].get("headers") or {})
102
+ ):
103
return f(*args, **kwargs)
104
105
return _inner
0 commit comments