mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-28 13:03:46 +08:00
use deprecated
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user