1
0
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:
imbeacon
2024-06-06 15:34:49 +03:00
parent 89395e197b
commit d53fcc1700

View File

@@ -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()