add logging if nothing caught

This commit is contained in:
bittles
2023-01-02 15:11:36 -05:00
parent bc6e174d3f
commit 0170a9e177
+2
View File
@@ -1016,6 +1016,8 @@ class EcoVacsXMPP(ClientXMPP):
_LOGGER.debug("result after xml update attrib:")
_LOGGER.debug(result)
else: # for non-'type' result with no child element, e.g., result of PlaySound
_LOGGER.warning("payload didn't catch on any checks, result is: ")
_LOGGER.debug(result)
return
else: # response includes 'td'
_LOGGER.debug("td detected in result, result before event handling:")