mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
manager watchdog, log exit code
old-commit-hash: 958e7b0071c3333f0f9d668303d1f93915727e7a
This commit is contained in:
@@ -96,7 +96,7 @@ class ManagerProcess(ABC):
|
||||
if dt > self.watchdog_max_dt:
|
||||
# Only restart while offroad for now
|
||||
if self.watchdog_seen and ENABLE_WATCHDOG and (not started):
|
||||
cloudlog.error(f"Watchdog timeout for {self.name}, restarting")
|
||||
cloudlog.error(f"Watchdog timeout for {self.name} (exitcode {self.proc.exitcode}) restarting")
|
||||
self.restart()
|
||||
else:
|
||||
self.watchdog_seen = True
|
||||
|
||||
Reference in New Issue
Block a user