Skip to content

Commit

Permalink
fix: add error capture for cronos chain
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Dec 25, 2022
1 parent 6978800 commit 3c617fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ export class BalanceRampClient {
!message.toLowerCase().includes('insufficient funds') &&
!message.toLowerCase().includes('exceeds allowance') &&
!message.toLowerCase().includes('exceeds balance') &&
!message.toLowerCase().includes('zero balance')
!message.toLowerCase().includes('zero balance') &&
!message.toLowerCase().includes('insufficient balance')
) {
throw e;
}
Expand Down

0 comments on commit 3c617fc

Please sign in to comment.