mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
parent
5dc94cd5c8
commit
1bada16636
@ -108,6 +108,8 @@ class TPLinkSmartHomeProtocol:
|
||||
info = json.loads(TPLinkSmartHomeProtocol.decrypt(data))
|
||||
|
||||
devices.append({"ip": ip, "port": port, "sys_info": info})
|
||||
except socket.timeout:
|
||||
_LOGGER.debug("Got socket timeout, which is okay.")
|
||||
except Exception as ex:
|
||||
_LOGGER.error("Got exception %s", ex, exc_info=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user