-
Notifications
You must be signed in to change notification settings - Fork 575
Closed as not planned
Labels
Integration: AriadneTriagedHas been looked at recently during old issue triageHas been looked at recently during old issue triage
Description
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.42.0
Steps to Reproduce
- Define graphql query:
extend type Query {
testQuery: testPayload!
}
type TestResult {
field1: Boolean
}
type TestPayload {
status: Boolean!
result: TestResult
errors: [Error]
}
- Execute the query with requesting data not defined in
TestResult:
query {
testQuery{
resut{
non_existing_field
}
}
}
note: AriadneIntegration() is added upon sentry_sdk.init()
Expected Result
Error is reported in sentry with flag -> handled: True
Actual Result
Error is reported in sentry with flag -> handled: False
Why the error is reported as not handled when it seems that it's handled by library and a proper message is received
Message received and reported:
Cannot query field 'non_existing field' on type 'TestResult'
Metadata
Metadata
Assignees
Labels
Integration: AriadneTriagedHas been looked at recently during old issue triageHas been looked at recently during old issue triage
Projects
Status
No status
Status
Waiting for: Community