Skip to content
Snippets Groups Projects
Commit a04a2205 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: add logging

parent b7155d14
No related branches found
No related tags found
2 merge requests!19Feat/us858 save expiration date,!17fix/US846-onDelete
Pipeline #42407 passed
......@@ -27,6 +27,7 @@ function getAccountRev() {
* @returns {Fields}
*/
function getAccountSecret() {
log('info', `getAccountSecret`)
try {
return isLocal()
? JSON.parse(process.env.COZY_FIELDS)
......
......@@ -22,6 +22,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 : '{}'
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment