diff --git a/src/helper/influx-checks.js b/src/helper/influx-checks.js index 0d17c30..1e6db19 100644 --- a/src/helper/influx-checks.js +++ b/src/helper/influx-checks.js @@ -43,7 +43,6 @@ function checkWriteApi(influxDb, options){ .catch((err) => { logger.error("Could not get writeApi:"); logger.error(`Error [${err.code}]:`, err.message); - if(err.code == "not found") logger.error("No write-permission?"); reject(); }).then((res) => { logger.debug("Writing ok");