1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

misleading exception message

This commit is contained in:
Joel Bender 2018-06-19 11:31:50 -04:00
parent 6b74cad1eb
commit 68ca5ec151
3 changed files with 3 additions and 3 deletions

View File

@ -1525,7 +1525,7 @@ class ApplicationServiceAccessPoint(ApplicationServiceElement, ServiceAccessPoin
xpdu = atype()
xpdu.decode(apdu)
except Exception, err:
ApplicationServiceAccessPoint._exception("unconfirmed request decoding error: %r", err)
ApplicationServiceAccessPoint._exception("complex ack decoding error: %r", err)
return
elif isinstance(apdu, ErrorPDU):

View File

@ -1522,7 +1522,7 @@ class ApplicationServiceAccessPoint(ApplicationServiceElement, ServiceAccessPoin
xpdu = atype()
xpdu.decode(apdu)
except Exception as err:
ApplicationServiceAccessPoint._exception("unconfirmed request decoding error: %r", err)
ApplicationServiceAccessPoint._exception("complex ack decoding error: %r", err)
return
elif isinstance(apdu, ErrorPDU):

View File

@ -1522,7 +1522,7 @@ class ApplicationServiceAccessPoint(ApplicationServiceElement, ServiceAccessPoin
xpdu = atype()
xpdu.decode(apdu)
except Exception as err:
ApplicationServiceAccessPoint._exception("unconfirmed request decoding error: %r", err)
ApplicationServiceAccessPoint._exception("complex ack decoding error: %r", err)
return
elif isinstance(apdu, ErrorPDU):