From 6dbe48ae61a96798c030f11f07c10e2c4747145d Mon Sep 17 00:00:00 2001 From: zeroshift Date: Wed, 28 Jun 2023 08:59:01 -0500 Subject: [PATCH] Influx: Skip upload file on exception. --- enviro/destinations/influxdb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/enviro/destinations/influxdb.py b/enviro/destinations/influxdb.py index df467ae..64ea46b 100644 --- a/enviro/destinations/influxdb.py +++ b/enviro/destinations/influxdb.py @@ -47,4 +47,5 @@ def upload_reading(reading): except: logging.debug(f" - an exception occurred when uploading") - return UPLOAD_FAILED \ No newline at end of file + # return UPLOAD_FAILED + return UPLOAD_SKIP_FILE