mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Added not connected error handling
This commit is contained in:
@@ -1164,6 +1164,10 @@ class TBGatewayService:
|
||||
success = True
|
||||
else:
|
||||
break
|
||||
except RuntimeError as e:
|
||||
log.error("Error while sending data to ThingsBoard, it will be resent.",
|
||||
exc_info=e)
|
||||
success = False
|
||||
except Exception as e:
|
||||
log.error("Error while sending data to ThingsBoard, it will be resent.",
|
||||
exc_info=e)
|
||||
|
||||
Reference in New Issue
Block a user