-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Support for GraphQL errors #33723
Comments
Routing to @getsentry/owners-ingest for triage. ⏲️ |
@ueman Do you perhaps want to have better support for GraphQL in a specific SDK? |
Routing to @getsentry/team-web-sdk-backend for triage. ⏲️ |
@tonyo No, that's something I've already done myself. I've written code to report GraphQL errors here and it currently looks like the following screenshot: Based on the error from the Something like this based on the Or based on the (The query can also be tested against GitHubs GraphQL explorer) I hope that makes my feature request more understandable 😅 Also, if there are already ways to improve on this reporting, please let me know. |
Thanks for clarifying, will let frontend folks triage it, then! |
Routing to @getsentry/app-frontend for triage. ⏲️ |
Routing to @getsentry/workflow for triage. ⏲️ |
@ueman thanks for the feature request, I've added a ticket to improve the graphql errors to the workflow team backlog |
Related issue: getsentry/sentry-dart#1126 Discussion: #38913 Related notion page: https://www.notion.so/sentry/GraphQL-proposal-d6e5846f30434770903cf3af20bc2568 Related JIRA issues: Proposal:
An RFC is needed, we can split up the work for HTTP Client errors and APM. |
Relay PR getsentry/relay#2141 |
Closed by: BE changes getsentry/relay#2141 Let us know what you think. |
Problem Statement
I would like to be able to report GraphQL errors and see them nicely formatted.
According to the GraphQL docs, it returns structured error data. See this and this document.
Example time by using GitHubs GraphQL explorer:
The following query returns a result:
If I now introduce an error to the query
I'm greeted with this error
Solution Brainstorm
If I report the query and the error response, I would like to be able to see the error highlighted in the query.
The text was updated successfully, but these errors were encountered: