diff --git a/yacron/job.py b/yacron/job.py index e45a875..06fe539 100644 --- a/yacron/job.py +++ b/yacron/job.py @@ -133,7 +133,7 @@ async def report( extra, body, ) - with sentry_sdk.configure_scope() as scope: + with sentry_sdk.push_scope() as scope: for key, val in extra.items(): scope.set_extra(key, val) scope.fingerprint = fingerprint