diff --git a/lib/ExpensiMark.js b/lib/ExpensiMark.js index 6b77fcee..5d499992 100644 --- a/lib/ExpensiMark.js +++ b/lib/ExpensiMark.js @@ -493,7 +493,8 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const reportToNameMap = extras.reportIDToName; if (!reportToNameMap || !reportToNameMap[g1]) { - Log.alert('[ExpensiMark] Missing report name', {reportID: g1}); + // eslint-disable-next-line no-console + console.warn('[ExpensiMark] Missing report name', {reportID: g1}); return '#Hidden'; } @@ -507,7 +508,8 @@ export default class ExpensiMark { if (g1) { const accountToNameMap = extras.accountIDToName; if (!accountToNameMap || !accountToNameMap[g1]) { - Log.alert('[ExpensiMark] Missing account name', {accountID: g1}); + // eslint-disable-next-line no-console + console.warn('[ExpensiMark] Missing account name', {accountID: g1}); return '@Hidden'; } @@ -565,7 +567,8 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const reportToNameMap = extras.reportIDToName; if (!reportToNameMap || !reportToNameMap[g1]) { - Log.alert('[ExpensiMark] Missing report name', {reportID: g1}); + // eslint-disable-next-line no-console + console.warn('[ExpensiMark] Missing report name', {reportID: g1}); return '#Hidden'; } @@ -578,7 +581,8 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const accountToNameMap = extras.accountIDToName; if (!accountToNameMap || !accountToNameMap[g1]) { - Log.alert('[ExpensiMark] Missing account name', {accountID: g1}); + // eslint-disable-next-line no-console + console.warn('[ExpensiMark] Missing account name', {accountID: g1}); return '@Hidden'; } return `@${extras.accountIDToName[g1]}`;