Commit b2131c6e authored by Liam Horne's avatar Liam Horne

fix: fix incorrectly provided error object to pino

parent 795d9143
......@@ -213,7 +213,7 @@ export const run = async () => {
}
}
} catch (err) {
log.error('Cannot clear transactions', err)
log.error('Cannot clear transactions', { err })
process.exit(1)
}
}
......@@ -222,7 +222,7 @@ export const run = async () => {
try {
await func()
} catch (err) {
log.error('Error submitting batch', err)
log.error('Error submitting batch', { err })
log.info('Retrying...')
}
// Sleep
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment