diff --git a/src/core/findUserPdl.js b/src/core/findUserPdl.js index de191fe87554f369bbf4c31ead3cc9393c8185e4..e7c46bbdbb9de4c59ff76f66d36da898e97f3f08 100644 --- a/src/core/findUserPdl.js +++ b/src/core/findUserPdl.js @@ -50,10 +50,6 @@ async function findUserPdl( return parseUserPdl(parsedReply) } catch (error) { log('error', 'Error while parsing user PDL: ' + error) - log( - 'error', - `Enedis issue ${parsedReply.Envelope.Body.Fault.detail.erreur.resultat.$.code}: ${parsedReply.Envelope.Body.Fault.faultstring}` - ) throw errors.LOGIN_FAILED } } diff --git a/src/index.js b/src/index.js index 899af77bb14655857faa494e094a439faebec059..42678cf13a62eb546b810b7ea3e937f7e0a80001 100644 --- a/src/index.js +++ b/src/index.js @@ -168,7 +168,7 @@ async function start(fields, cozyParameters) { consentId: consent.ID, }) } else { - // AlternateStart + log('info', 'Alternate start...') const accountData = await getAccount(ACCOUNT_ID) const userConsent = await getBoConsent( boBaseUrl,