mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Fix for loosing the connection after dns name has not been resolved.
This commit is contained in:
@@ -115,6 +115,8 @@ class TBClient(threading.Thread):
|
||||
min_reconnect_delay=self.__min_reconnect_delay)
|
||||
except ConnectionRefusedError:
|
||||
pass
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
time.sleep(1)
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
|
||||
Reference in New Issue
Block a user