From 82f0522647cad6416e0f088ad57d6cb791cd4a78 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 7 Oct 2021 10:34:59 +0200 Subject: [PATCH] FW query: catch asserts from uds.py (#22456) old-commit-hash: 95957bc188504e0c8d97071178d820a1222ababd --- selfdrive/car/isotp_parallel_query.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/isotp_parallel_query.py b/selfdrive/car/isotp_parallel_query.py index 8acdbf6f5..1209a8f1a 100644 --- a/selfdrive/car/isotp_parallel_query.py +++ b/selfdrive/car/isotp_parallel_query.py @@ -108,7 +108,12 @@ class IsoTpParallelQuery: break for tx_addr, msg in msgs.items(): - dat: Optional[bytes] = msg.recv() + try: + dat: Optional[bytes] = msg.recv() + except Exception: + cloudlog.exception("Error processing UDS response") + request_done[tx_addr] = True + continue if not dat: continue