From 411b41567447b58ab8b60a60710797c0edf55de8 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Wed, 21 Sep 2022 09:59:48 +0200 Subject: [PATCH] publish: fix login failed generated from commit 08720f6cfef57b86594e40944e947e7a5a3c6596 --- index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 2ae14aa..70f09c8 100644 --- a/index.js +++ b/index.js @@ -228371,12 +228371,12 @@ async function findUserPdl( return parseUserPdl(parsedReply) } catch (error) { log('error', 'Error while parsing user PDL: ' + error) - if (parsedReply.Envelope.Body.Fault) { - log( - 'error', - `Enedis issue ${parsedReply.Envelope.Body.Fault.detail.erreur.resultat.$.code}: ${parsedReply.Envelope.Body.Fault.faultstring}` - ) - } + // if (parsedReply.Envelope.Body.Fault) { + // log( + // 'error', + // `Enedis issue ${parsedReply.Envelope.Body.Fault.detail.erreur.resultat.$.code}: ${parsedReply.Envelope.Body.Fault.faultstring}` + // ) + // } throw errors.LOGIN_FAILED } } -- GitLab