Skip to content

Commit

Permalink
catch skip error as amount error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonator committed Aug 6, 2024
1 parent ce3d0e6 commit 9f1cb1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/bridge/src/skip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ export class SkipBridgeProvider implements BridgeProvider {
msg.includes(
"Input amount is too low to cover"
// Could be Axelar or CCTP
) ||
msg.includes(
"Difference in USD value of route input and output is too large"
)
) {
throw new BridgeQuoteError({
Expand Down

0 comments on commit 9f1cb1d

Please sign in to comment.