Skip to content

Commit

Permalink
sentry: use push_scope() instead of configure_scope(), potentially mo…
Browse files Browse the repository at this point in the history
…re correct
  • Loading branch information
gjcarneiro committed Aug 10, 2021
1 parent ad2cba0 commit 3c69156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yacron/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c69156

Please sign in to comment.