Skip to content

Commit

Permalink
account for failed submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
annieke committed Jun 15, 2021
1 parent 3329b6c commit b80b3b2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export abstract class BatchSubmitter {
this.logger
)
} catch (err) {
this.metrics.failedSubmissions.inc()
if (err.reason) {
this.logger.error(`Transaction invalid: ${err.reason}, aborting`, {
message: err.toString(),
Expand Down

0 comments on commit b80b3b2

Please sign in to comment.