mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
IsoTpParallelQuery: log empty responses (#29014)
* check if None * log instead * clean up * should mark done old-commit-hash: 29837b872802db8b445653f63c2c1ab67e7a27af
This commit is contained in:
@@ -115,7 +115,13 @@ class IsoTpParallelQuery:
|
||||
addrs_responded.add(tx_addr)
|
||||
response_timeouts[tx_addr] = time.monotonic() + timeout
|
||||
|
||||
if not dat:
|
||||
if dat is None:
|
||||
continue
|
||||
|
||||
# Log unexpected empty responses
|
||||
if len(dat) == 0:
|
||||
cloudlog.error(f"iso-tp query empty response: {tx_addr}")
|
||||
request_done[tx_addr] = True
|
||||
continue
|
||||
|
||||
counter = request_counter[tx_addr]
|
||||
|
||||
Reference in New Issue
Block a user