diff --git a/lib/ExpensiMark.js b/lib/ExpensiMark.js index 43ff0351..21f7081b 100644 --- a/lib/ExpensiMark.js +++ b/lib/ExpensiMark.js @@ -474,7 +474,7 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const reportToNameMap = extras.reportIdToName; if (!reportToNameMap || !reportToNameMap[g1]) { - Log.alert(`[ExpensiMark] Missing report name for ID: ${g1}`); + Log.alert('[ExpensiMark] Missing report name', {reportID: g1}); return '#Hidden'; } @@ -487,7 +487,7 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const accountToNameMap = extras.accountIdToName; if (!accountToNameMap || !accountToNameMap[g1]) { - Log.alert(`[ExpensiMark] Missing account name for ID: ${g1}`); + Log.alert('[ExpensiMark] Missing account name', {accountID: g1}); return '@Hidden'; } @@ -543,7 +543,7 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const reportToNameMap = extras.reportIdToName; if (!reportToNameMap || !reportToNameMap[g1]) { - Log.alert(`[ExpensiMark] Missing report name for ID: ${g1}`); + Log.alert('[ExpensiMark] Missing report name', {reportID: g1}); return '#Hidden'; } @@ -556,7 +556,7 @@ export default class ExpensiMark { replacement: (match, g1, offset, string, extras) => { const accountToNameMap = extras.accountIdToName; if (!accountToNameMap || !accountToNameMap[g1]) { - Log.alert(`[ExpensiMark] Missing account name for ID: ${g1}`); + Log.alert('[ExpensiMark] Missing account name', {accountID: g1}); return '@Hidden'; }