From 72357189ef7ebf88205748b10e31eac75dd9d0a7 Mon Sep 17 00:00:00 2001 From: git-directory-deploy <> Date: Wed, 30 Jun 2021 17:45:36 +0200 Subject: [PATCH] publish: Merge branch 'dev' into 'master' generated from commit 6a7f575ff4574c19834226e9bf76292ced1c2fb8 --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index bd46b37..3bb39f6 100644 --- a/index.js +++ b/index.js @@ -314,9 +314,7 @@ async function checkConsentForLoadCurve( log('info', 'No consent for load curve') return false } else if ( - (err.statusCode === 404 && - err.error === "no_data_found") || (err.code === 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