1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00

Refactored information about connection to saved devices from persistent device storage.

This commit is contained in:
zbeacon
2020-03-30 09:40:45 +03:00
parent b001f71331
commit 332fd8132d

View File

@@ -558,7 +558,7 @@ class TBGatewayService:
self.__connected_devices[device_name] = { self.__connected_devices[device_name] = {
"connector": self.available_connectors[devices[device_name]]} "connector": self.available_connectors[devices[device_name]]}
else: else:
log.warning("Device %s connector not found, maybe it had been disabled.", device_name) log.info("Pair device %s - connector %s from persistent device storage - not found.", device_name, devices[device_name])
except Exception as e: except Exception as e:
log.exception(e) log.exception(e)
continue continue