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 () => { ...@@ -213,7 +213,7 @@ export const run = async () => {
} }
} }
} catch (err) { } catch (err) {
log.error('Cannot clear transactions', err) log.error('Cannot clear transactions', { err })
process.exit(1) process.exit(1)
} }
} }
...@@ -222,7 +222,7 @@ export const run = async () => { ...@@ -222,7 +222,7 @@ export const run = async () => {
try { try {
await func() await func()
} catch (err) { } catch (err) {
log.error('Error submitting batch', err) log.error('Error submitting batch', { err })
log.info('Retrying...') log.info('Retrying...')
} }
// Sleep // 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