From 7ec0477d01ded899ec2636a0476d978eff1e0639 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Thu, 6 Oct 2022 18:47:48 +0200
Subject: [PATCH] publish: fix: switch to warning log because it was making the
 app failing

generated from commit e69a8e351a1a70d2a35d0fb3d0cd41d73f943c9e
---
 index.js           | 16 ----------------
 onDeleteAccount.js |  4 ----
 2 files changed, 20 deletions(-)

diff --git a/index.js b/index.js
index 3006871..916792d 100644
--- a/index.js
+++ b/index.js
@@ -223834,10 +223834,6 @@ function rechercherPoint(
     'info',
     `Query rechercherPoint - postal code : ${postalCode} / insee code: ${inseeCode}`
   )
-  log(
-    'warn',
-    `Query rechercherPoint - address : ${address} / escalierEtEtageEtAppartement: ${escalierEtEtageEtAppartement}`
-  )
   if (escalierEtEtageEtAppartement) {
     return `<?xml version='1.0' encoding='utf-8'?>
     <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
@@ -228485,18 +228481,6 @@ async function findUserPdl(
     return parseUserPdl(parsedReply)
   } catch (error) {
     log('warn', 'Error while parsing user PDL: ' + error)
-    log(
-      'warn',
-      JSON.stringify({
-        appLogin,
-        name,
-        postalCode,
-        inseeCode,
-        address,
-        escalierEtEtageEtAppartement,
-      })
-    )
-    log('warn', JSON.stringify(parsedReply))
     if (parsedReply.Envelope.Body.Fault) {
       log(
         'warn',
diff --git a/onDeleteAccount.js b/onDeleteAccount.js
index 6f0e38d..9bb2d78 100644
--- a/onDeleteAccount.js
+++ b/onDeleteAccount.js
@@ -223156,10 +223156,6 @@ function rechercherPoint(
     'info',
     `Query rechercherPoint - postal code : ${postalCode} / insee code: ${inseeCode}`
   )
-  log(
-    'warn',
-    `Query rechercherPoint - address : ${address} / escalierEtEtageEtAppartement: ${escalierEtEtageEtAppartement}`
-  )
   if (escalierEtEtageEtAppartement) {
     return `<?xml version='1.0' encoding='utf-8'?>
     <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-- 
GitLab