Skip to content

Commit

Permalink
check if e.details exists before callign toLowerCase() (#321)
Browse files Browse the repository at this point in the history
* check if e.details exists before callign toLowerCase()

* nit
  • Loading branch information
mouseless0x authored Oct 10, 2024
1 parent b2a51d3 commit 2eb5934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ export class Executor {

if (
e?.details
.toLowerCase()
?.toLowerCase()
.includes("replacement transaction underpriced")
) {
childLogger.error(
Expand Down

0 comments on commit 2eb5934

Please sign in to comment.