From d576ef7423903862fac6b8295dbc941616849ea1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com>
Date: Wed, 11 Jan 2023 16:29:21 +0100
Subject: [PATCH] publish: fix: updated build dependencies

generated from commit bf3079828709d34b56d3eaab32f98b1d9a388d1f
---
 index.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 2077045..e0d41f3 100644
--- a/index.js
+++ b/index.js
@@ -214,9 +214,9 @@ async function authenticate(login, password, baseUrl, apiAuthKey) {
     }),
   }
   try {
-    log('debug', 'REQUETE : ' + authRequest)
+    log('debug', 'REQUETE : ' + JSON.stringify(authRequest))
     const data = await fetch(baseUrl + '/connect.aspx', authRequest)
-    log('debug', 'DATA : ' + data)
+    log('debug', 'DATA : ' + JSON.stringify(data))
     const response = await data.json()
     log('debug', response)
 
@@ -227,6 +227,7 @@ async function authenticate(login, password, baseUrl, apiAuthKey) {
       throw new Error()
     }
   } catch (error) {
+    log('error', error)
     throw new Error(errors.LOGIN_FAILED)
   }
 }
-- 
GitLab