Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wise-onions-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@eth-optimism/batch-submitter": patch
---

Correctly formatted error object to log exceptions
4 changes: 2 additions & 2 deletions packages/batch-submitter/src/exec/run-batch-submitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand All @@ -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
Expand Down