mirror of
https://github.com/ajouatom/openpilot.git
synced 2026-06-08 02:54:45 +08:00
fix bug
This commit is contained in:
@@ -859,7 +859,7 @@ class CarrotMan:
|
||||
is_tmux_sent = True
|
||||
carrot_exception = self.params.get("CarrotException")
|
||||
if carrot_exception in ["exception", "log", "tmux_send"] and networkConnected:
|
||||
self.params.put_bool("CarrotException", "")
|
||||
self.params.put("CarrotException", "")
|
||||
self.make_tmux_data()
|
||||
self.send_tmux("Ekdrmsvkdlffjt7710", carrot_exception)
|
||||
self.send_tmux_http(carrot_exception, send_settings = False)
|
||||
|
||||
@@ -29,7 +29,7 @@ def report_tombstone(fn: str, message: str, contents: str) -> None:
|
||||
|
||||
def capture_exception(*args, **kwargs) -> None:
|
||||
cloudlog.error("crash", exc_info=kwargs.get('exc_info', 1))
|
||||
Params().put_bool("CarrotException", "exception")
|
||||
Params().put("CarrotException", "exception")
|
||||
|
||||
try:
|
||||
sentry_sdk.capture_exception(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user