-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
Implement handleException method in SentryGenericDataFetcherExceptionHandler #3017
Comments
Thanks for opening this issue @jrogers we'll improve compatibility - can't give an ETA at this point. |
Sorry the deleted messages were intended for another issue. |
This actually won't work if you use a delegate exeception handler, because the onException was removed from the interface entirely and |
I just ended up forking both |
Integration
sentry
Java Version
17
Version
6.3.2
Steps to Reproduce
With graphql-java 21.2 (which is version now used in DGS 8), the deprecated method onException was removed from the
DataFetcherExceptionHandler
interface. In order to be compatible, my suggestion is that sentry-graphql implements the handleException method inSentryGenericDataFetcherExceptionHandler
as well as onException to be compatible.Expected Result
Exception handler works as intended with latest graphql-java
Actual Result
Execution java.lang.AbstractMethodError: Receiver class io.sentry.graphql.SentryGenericDataFetcherExceptionHandler does not define or inherit an implementation of the resolved method 'abstract java.util.concurrent.CompletableFuture handleException(graphql.execution.DataFetcherExceptionHandlerParameters)' of interface graphql.execution.DataFetcherExceptionHandler.
The text was updated successfully, but these errors were encountered: