From efcd434a490392ad32c9daa3c47fb00bf7e7e7c9 Mon Sep 17 00:00:00 2001 From: git-directory-deploy <> Date: Wed, 30 Jun 2021 17:08:43 +0200 Subject: [PATCH] publish: Merge branch 'dev' into 'master' generated from commit 6a7f575ff4574c19834226e9bf76292ced1c2fb8 --- index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 9998bf6..c2228ae 100644 --- a/index.js +++ b/index.js @@ -313,9 +313,8 @@ async function checkConsentForLoadCurve( } else if (err.statusCode === 403 || err.code === 403) { log('info', 'No consent for load curve') return false - } - else if (err.statusCode === 404 || err.code === 404 && err.error === "no_data_found") { - log('Handling half-hour error on connection') + } else if (err.statusCode === 404 || err.code === 404 && err.error === "no_data_found") { + log('info', 'Handling half-hour error on connection') return false } else { -- GitLab