log vin request to qlog (#31314)

pull/31310/head^2
Shane Smiskol 2 years ago committed by GitHub
parent 35d848ad52
commit cd153e6376
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/car/vin.py

@ -42,7 +42,7 @@ def get_vin(logcan, sendcan, buses, timeout=0.1, retry=3, debug=False):
if vin.startswith(b'\x11'): if vin.startswith(b'\x11'):
vin = vin[1:18] vin = vin[1:18]
cloudlog.warning(f"got vin with {request=}") cloudlog.error(f"got vin with {request=}")
return get_rx_addr_for_tx_addr(addr), bus, vin.decode() return get_rx_addr_for_tx_addr(addr), bus, vin.decode()
except Exception: except Exception:
cloudlog.exception("VIN query exception") cloudlog.exception("VIN query exception")

Loading…
Cancel
Save