add exception to try
This commit is contained in:
@@ -975,6 +975,8 @@ class EcoVacsXMPP(ClientXMPP):
|
||||
other_part = message.get_payload()[1][0]
|
||||
_LOGGER.debug("handle_ctl called with get_payload()[1][0], the other part:")
|
||||
_LOGGER.debug(other_part)
|
||||
except TypeError:
|
||||
_LOGGER.warning("No extra payload")
|
||||
|
||||
def _ctl_to_dict(self, xml):
|
||||
result = xml.attrib.copy()
|
||||
|
||||
Reference in New Issue
Block a user