mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
pass an error instance up to the application
This commit is contained in:
parent
172070fc85
commit
d08675637c
|
@ -1530,7 +1530,7 @@ class ApplicationServiceAccessPoint(ApplicationServiceElement, ServiceAccessPoin
|
|||
xpdu.decode(apdu)
|
||||
except Exception as err:
|
||||
ApplicationServiceAccessPoint._exception("complex ack decoding error: %r", err)
|
||||
return
|
||||
xpdu = Error(errorClass=7, errorCode=57) # communication, invalidTag
|
||||
|
||||
elif isinstance(apdu, ErrorPDU):
|
||||
atype = error_types.get(apdu.apduService)
|
||||
|
|
Loading…
Reference in New Issue
Block a user