add devicealert as boterror

add devicealert as boterror
This commit is contained in:
Brian Martin 2019-06-19 07:52:39 -04:00
parent b48905b4e4
commit d541234600

View file

@ -722,7 +722,7 @@ class XMPPAsyncClient:
).replace("ns0:", ""),
)
)
if 'td="error"' in newdata or 'errs=' in newdata:
if 'td="error"' in newdata or 'errs=' in newdata or 'k="DeviceAlert' in newdata:
boterrorlog.error(
"Received Error from ({}:{} | {}) - {}".format(
self.address[0],