manager watchdog, log exit code

albatross
Willem Melching 2021-03-09 13:11:40 +01:00
parent 91ec0a2099
commit 958e7b0071
1 changed files with 1 additions and 1 deletions

View File

@ -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