From 942e4fbfd963ec740d7f450ef355c3c484a17791 Mon Sep 17 00:00:00 2001
From: build-token <build-token>
Date: Wed, 23 Aug 2023 09:03:10 +0000
Subject: [PATCH] publish: Merge branch 'main' of
 https://forge.grandlyon.com/web-et-numerique/factory/llle_project/enedis-sge-konnector
 into 25-follow-up-from-detailed-sentry-logs

generated from commit 18f23880e64faec5f49009d24a83ac26bd0dbe84
---
 index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 2b29874..d22c8f8 100644
--- a/index.js
+++ b/index.js
@@ -247476,7 +247476,7 @@ async function findUserPdl(
         escalierEtEtageEtAppartement: escalierEtEtageEtAppartement,
       },
     })
-    throw new Error(errors.LOGIN_FAILED)
+    throw new Error(errors.VENDOR_DOWN)
   })
 
   const parsedReply = await xml2js.parseStringPromise(response.body, {
@@ -247834,7 +247834,7 @@ async function findUserAddress(url, apiAuthKey, userLogin, pointId) {
         section: 'findUserAddress',
       },
     })
-    throw new Error(errors.LOGIN_FAILED)
+    throw new Error(errors.VENDOR_DOWN)
   }
 }
 
-- 
GitLab