diff --git a/index.js b/index.js index ae4781e42a3b77329665e458ff6e64b04e554c20..eeb34b96b737e745720b7ffc13f10fb165540965 100644 --- a/index.js +++ b/index.js @@ -247355,7 +247355,7 @@ async function findUserPdl( log('error', 'rechercherPointResponse') log('error', err) Sentry.captureException('rechercherPointResponse', err) - throw errors.LOGIN_FAILED + throw errors.VENDOR_DOWN }) const parsedReply = await xml2js.parseStringPromise(response.body, { @@ -247696,7 +247696,7 @@ async function findUserAddress(url, apiAuthKey, userLogin, pointId) { `Enedis issue ${result.Envelope.Body.Fault.detail.erreur.resultat.$.code}: ${result.Envelope.Body.Fault.faultstring}` ) Sentry.captureException(errorMessage) - throw errors.LOGIN_FAILED + throw errors.VENDOR_DOWN } }