Change log mode to prod

This commit is contained in:
Fred Boniface 2023-05-23 23:53:24 +01:00
parent c8d8dc5736
commit f0081aa301

View File

@ -46,7 +46,7 @@ const delay = ms => new Promise(res => setTimeout(res, ms))
/* Maintains backwards compatibility for previous
implementation of log helper */
async function log(msg, type) {
const mode = 'tst'
const mode = 'prod'
if (mode === 'prod' && type != 'ERR') {
return
}