You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked there isn't already an issue for the bug I encountered.
Describe the bug
When I call the approve method of the contract or operate to import tokens into the wallet(walletClient.data?.watchAsset), if I click reject in metamask, the user rejection cannot be captured in the catch and the execution continues.
But when I try to switch back to version 2.9.9, I can catch the error. I want to know if there is any update on error handler in the new version?
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
What Wagmi package(s) are you using?
wagmi
Wagmi Version
2.10.2
Viem Version
2.15.1
TypeScript Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new discussion thread.
Check existing issues
Describe the bug
When I call the approve method of the contract or operate to import tokens into the wallet(walletClient.data?.watchAsset), if I click reject in metamask, the user rejection cannot be captured in the catch and the execution continues.
But when I try to switch back to version 2.9.9, I can catch the error. I want to know if there is any update on error handler in the new version?
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
What Wagmi package(s) are you using?
wagmi
Wagmi Version
2.10.2
Viem Version
2.15.1
TypeScript Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: