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