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