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

pull/22470/head
Willem Melching 2021-10-07 10:34:59 +02:00 committed by GitHub
parent 8bd626aade
commit 95957bc188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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