diff --git a/system/sentry.py b/system/sentry.py index 52b642c0ad..16a5d8a66a 100644 --- a/system/sentry.py +++ b/system/sentry.py @@ -81,7 +81,7 @@ def capture_fingerprint_mock() -> None: def capture_fingerprint(candidate: str, car_name: str) -> None: - with sentry_sdk.get_current_scope() as scope: + with sentry_sdk.configure_scope() as scope: set_user() scope.set_extra("carFingerprint", candidate) scope.set_extra("carName", car_name)