Catching error #1029
Unanswered
greynguyen
asked this question in
Q&A
Catching error
#1029
Replies: 1 comment 2 replies
-
@duongdangng can you share more about your example or a minimal repro on codesanbox showing where the errors thrown from? |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I catch the error of useSwr so that it doesn't throw it to the console?
I've tried nesting useSwr inside a try and catch and it doesn't work. The code I am using is below:
Beta Was this translation helpful? Give feedback.
All reactions