Skip to content

Commit

Permalink
throw error if processing event fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Intizar-T committed May 28, 2024
1 parent 6fbfd79 commit 9738603
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/listener/listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ function processEventJob({
_logger.debug(`Listener submitted job [${jobId}] for [${jobName}]`)
} else {
_logger.error(event, `Couldn't process event in block [${blockNumber}]`)
throw new Error()
}
}

Expand Down

0 comments on commit 9738603

Please sign in to comment.