diff --git a/thingsboard_gateway/gateway/tb_gateway_service.py b/thingsboard_gateway/gateway/tb_gateway_service.py index f1075f9a..fb0bc741 100644 --- a/thingsboard_gateway/gateway/tb_gateway_service.py +++ b/thingsboard_gateway/gateway/tb_gateway_service.py @@ -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)