mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Changed logging for failed sending to TB
This commit is contained in:
@@ -1199,7 +1199,7 @@ class TBGatewayService:
|
||||
else:
|
||||
break
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
log.error("Error while sending data to ThingsBoard, it will be resent.", exc_info=e)
|
||||
success = False
|
||||
if success and self.tb_client.is_connected():
|
||||
self._event_storage.event_pack_processing_done()
|
||||
|
||||
Reference in New Issue
Block a user