disable_ecu: log retries as errors (#28223)

* log ecu disable retries as errors

* and here if it totally failsd
This commit is contained in:
Shane Smiskol
2023-05-17 22:19:49 -07:00
committed by GitHub
parent c722120a88
commit 041ab5bb7f
+2 -2
View File
@@ -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