Skip to content

Commit

Permalink
add "exceeds the configured cap" error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
defi-dev committed Oct 6, 2024
1 parent e18bb34 commit 2285ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/AbstractJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ export abstract class AbstractJob {
e.message.includes('Tx not mined, max attempts') ||
e.message.includes('Too many requests') ||
e.message.includes('InsufficientFunds') ||
e.message.includes('exceeds the configured cap') ||
e.message.toLowerCase().includes('insufficient funds') ||
e.message.includes('could not replace existing tx') ||
e.message.includes('replacement fee too low') ||
Expand Down

0 comments on commit 2285ab4

Please sign in to comment.