From 2285ab49f3a61404d277cbefc6c8c698eeac2b7a Mon Sep 17 00:00:00 2001 From: defi-dev Date: Sun, 6 Oct 2024 22:16:24 +0100 Subject: [PATCH] add "exceeds the configured cap" error handling --- app/jobs/AbstractJob.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/AbstractJob.ts b/app/jobs/AbstractJob.ts index 6731503..9f43e2b 100644 --- a/app/jobs/AbstractJob.ts +++ b/app/jobs/AbstractJob.ts @@ -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') ||