This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 786
Uncaught (in promise) Error in browser console #404
Labels
Comments
You can see the error in the However: a) there doesn't indeed seem to be a way to avoid the error going to the console. |
tmeasday
added a commit
that referenced
this issue
Jan 10, 2017
tmeasday
added a commit
that referenced
this issue
Jan 10, 2017
Thank you for looking into this. For SSR I actually created an issue on Githunt earlier. |
Fixed by #408 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to Reproduce
currentUser: User!
(making it a non-null field).Buggy Behavior
The error is shown as a uncaught promise error. There doesn't seem a way to stop/catch it.
Expected Behavior
I should be able to handle the error using data.error in my React component, resulting a cleaner error handling. Site viewers should never see the red error message in browser console. Or, I should be able to pass in an option leading to the error not being thrown.
Version
If this is by design, could you advice how to get rid of the error message in console?
The text was updated successfully, but these errors were encountered: