sentry: fix deprecation warning

This commit is contained in:
Adeeb Shihadeh
2024-10-12 15:31:34 -07:00
committed by GitHub
parent 8e8f61ad35
commit 7aa4ef5fd6

View File

@@ -72,7 +72,4 @@ def init(project: SentryProject) -> bool:
sentry_sdk.set_tag("commit", build_metadata.openpilot.git_commit)
sentry_sdk.set_tag("device", HARDWARE.get_device_type())
if project == SentryProject.SELFDRIVE:
sentry_sdk.Hub.current.start_session()
return True