-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show more info about GQL errors #749
Comments
hey @vnugent I can try to work on this if it's fine with you. |
Thanks for assigning me the issue. I'm on it! |
Hi @vnugent The article you shared recommends using
So I could first implement the |
Hey I wrote the code and tried to commit, but did not pass all the tests. This is the one that failed:
What should I do with this? |
The failing test has been an issue. You commit with --no-verify to skip the unit tests
|
#760) * chore:add errorLink to staging and production clients to console.log graphQL errors * use console.error and pass a message and an object * console.error GraphQL errors
What would you like to be able to do? Please describe.
As a developer whenever there's a GraphQL related error in the code the exception is not very clear what the root cause is.
How important is this to you (Please pick one)
** Suggested Solutions **
Implement a global error handling and log the error with console.log()
https://marcinkwiatkowski.com/blog/graphql/2-ways-of-handling-graphql-errors-in-apollo-client/
The text was updated successfully, but these errors were encountered: