-
Notifications
You must be signed in to change notification settings - Fork 2k
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
GraphQLError message doesn't display its value #1055
Comments
(you should copy your question here) The error message is The graphql object has a few properties that wont automatically log. They do help debugging a ton however. |
I have been facing this issue for a while. I've seen that there's a thread on this on the Apollo client page but thought it is more of a GraphQL one. I went through the response of @reconbot and the error object source but failed to understand how the error.message is being populated. If it is something that is explicitly thrown by my schema, I would be able to try change things but if it is an implicit GraphQL code that is converting a valid error message object to string and thus showing up as [object Object], I would like to bring it to the GraphQL developers' attention. Please help me understand if I can fix it by changing something in my schema or if it is something else. Thanks. |
any solution ? |
@giraudvalentin Can you please try |
Getting errors in
graphql
doesn't display the error's message value,it writes
[object Object]
instead.stackoverflow
graphql version:
0.11.3
The text was updated successfully, but these errors were encountered: