Replies: 2 comments
-
|
@owade ever make progress on this? Also looking for a more general way for handling errors in wagmi / react. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following code which displays two errors in console in the case of wrong arguments.
The error logged in the console is:
It looks like ethers.js logger class is higher in the call stack and runs before wagmi. Is there way to catch these types of errors in wagmi ? Or maybe how can i use async/await with wagmi?
I have used ethers directly with async await and it catches the error as required.
And then calling it by:
Beta Was this translation helpful? Give feedback.
All reactions