From 52afcf48a783ec6bffb2ef461a771d6d3a585d78 Mon Sep 17 00:00:00 2001 From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com> Date: Thu, 11 Aug 2022 11:01:12 +0200 Subject: [PATCH] publish: fix: build generated from commit e1b85de07c58540ec31d27517693c4d11397d6d0 --- index.js | 10 +++++++++- onDeleteAccount.js | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 42a214b..d3d0a42 100644 --- a/index.js +++ b/index.js @@ -223916,7 +223916,15 @@ async function createBoConsent( ) return data } catch (e) { - log('error', e.toJSON()) + log('error', { + pointID, + lastname, + firstname, + address, + postalCode, + inseeCode, + }) + log('error', headers) log('error', `BO replied with ${e}`) throw errors.MAINTENANCE } diff --git a/onDeleteAccount.js b/onDeleteAccount.js index 4045a11..a241f0a 100644 --- a/onDeleteAccount.js +++ b/onDeleteAccount.js @@ -223302,7 +223302,15 @@ async function createBoConsent( ) return data } catch (e) { - log('error', e.toJSON()) + log('error', { + pointID, + lastname, + firstname, + address, + postalCode, + inseeCode, + }) + log('error', headers) log('error', `BO replied with ${e}`) throw errors.MAINTENANCE } -- GitLab