mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
sentry fixups (#23249)
* set env * do init in same place * no sentry for forks * start session * start session * remove that * val old-commit-hash: b63bc89bc993648ec5cbe2b90b896ddae90077ed
This commit is contained in:
@@ -11,7 +11,7 @@ from multiprocessing import Process
|
||||
from setproctitle import setproctitle # pylint: disable=no-name-in-module
|
||||
|
||||
import cereal.messaging as messaging
|
||||
import selfdrive.crash as crash
|
||||
import selfdrive.sentry as sentry
|
||||
from common.basedir import BASEDIR
|
||||
from common.params import Params
|
||||
from common.realtime import sec_since_boot
|
||||
@@ -44,7 +44,7 @@ def launcher(proc: str, name: str) -> None:
|
||||
except Exception:
|
||||
# can't install the crash handler because sys.excepthook doesn't play nice
|
||||
# with threads, so catch it here.
|
||||
crash.capture_exception()
|
||||
sentry.capture_exception()
|
||||
raise
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user