FW query: catch asserts from uds.py (#22456)

old-commit-hash: 95957bc188
This commit is contained in:
Willem Melching 2021-10-07 10:34:59 +02:00 committed by GitHub
parent db7404fe8a
commit 82f0522647
1 changed files with 6 additions and 1 deletions

View File

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