add devicealert as boterror
add devicealert as boterror
This commit is contained in:
parent
b48905b4e4
commit
d541234600
1 changed files with 1 additions and 1 deletions
|
|
@ -722,7 +722,7 @@ class XMPPAsyncClient:
|
||||||
).replace("ns0:", ""),
|
).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(
|
boterrorlog.error(
|
||||||
"Received Error from ({}:{} | {}) - {}".format(
|
"Received Error from ({}:{} | {}) - {}".format(
|
||||||
self.address[0],
|
self.address[0],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue