Skip to content

Commit

Permalink
[Minor] Improve error messaging for failed balance/approval checks (#594
Browse files Browse the repository at this point in the history
)
  • Loading branch information
frankisawesome committed Jul 4, 2024
1 parent 3ad070a commit 099bd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/balanceAndApprovalCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const findBalanceAndApproval = (

if (!balanceAndApproval) {
throw new Error(
"Balances and approvals didn't contain all tokens and identifiers",
`Checking for balance and approvals for token ${token} id ${identifierOrCriteria} failed`,
);
}

Expand Down

0 comments on commit 099bd10

Please sign in to comment.