From 041ab5bb7fcdc5bd3723cc0c53dd84b1d160adcf Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 17 May 2023 22:19:49 -0700 Subject: [PATCH] disable_ecu: log retries as errors (#28223) * log ecu disable retries as errors * and here if it totally failsd --- selfdrive/car/disable_ecu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/disable_ecu.py b/selfdrive/car/disable_ecu.py index cd3e93fa80..ed98e14dc1 100755 --- a/selfdrive/car/disable_ecu.py +++ b/selfdrive/car/disable_ecu.py @@ -31,8 +31,8 @@ def disable_ecu(logcan, sendcan, bus=0, addr=0x7d0, com_cont_req=b'\x28\x83\x01' except Exception: cloudlog.exception("ecu disable exception") - print(f"ecu disable retry ({i+1}) ...") - cloudlog.warning("ecu disable failed") + cloudlog.error(f"ecu disable retry ({i + 1}) ...") + cloudlog.error("ecu disable failed") return False