From 62dd9a55257695bde537ec4ce0d4a7302b393629 Mon Sep 17 00:00:00 2001
From: build-token <build-token>
Date: Thu, 22 Sep 2022 14:24:25 +0000
Subject: [PATCH] publish: fix: add logging

generated from commit a04a2205134f1a733c8c31120981de6a48de8b14
---
 onDeleteAccount.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/onDeleteAccount.js b/onDeleteAccount.js
index 37f98e3..9f9d045 100644
--- a/onDeleteAccount.js
+++ b/onDeleteAccount.js
@@ -227477,6 +227477,7 @@ async function onDeleteAccount() {
     const accountData = await getAccount(ACCOUNT_ID)
     // Parse local info for deletion test
     if (isLocal()) {
+      log('warn', 'Local run')
       const fields = JSON.parse(
         process.env.COZY_FIELDS ? process.env.COZY_FIELDS : '{}'
       )
@@ -227573,6 +227574,7 @@ function getAccountRev() {
  * @returns {Fields}
  */
 function getAccountSecret() {
+  log('info', `getAccountSecret`)
   try {
     return isLocal()
       ? JSON.parse(process.env.COZY_FIELDS)
-- 
GitLab