-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Exception and stracktrace are useless when getting a SmallRye GraphQL Client error #45727
Comments
/cc @Ladicek (smallrye), @brunobat (opentelemetry), @jmartisk (graphql,smallrye), @phillip-kruger (graphql,smallrye), @radcortez (opentelemetry,smallrye) |
Do you also see If you don't get the application part of the stack trace, I think the only way this can happen is that your app runs the operation asynchronously ( |
I got the error with status.quarkus.io and it was reproducible always. You will have to revert this change though: quarkusio/status.quarkus.io#203 to be able to reproduce it. See the setup instructions there: https://github.com/quarkusio/status.quarkus.io?tab=readme-ov-file#setup . The code is the code in there: https://github.com/quarkusio/status.quarkus.io/blob/main/src/main/java/io/quarkus/status/github/GitHubService.java . And all the calls are sync, not async. |
Ok I was able to reproduce it and it will need a slight change in smallrye-graphql, stay tuned. |
Actually, I am not yet sure how to best do this. The |
I can fix it for your use case (with synchronous operations) by moving the throwing of |
I've submitted smallrye/smallrye-graphql#2258, it seems to work for sync operations. With that applied, I am getting
which is much better than before. Unfortunately, for async calls it doesn't help. |
Description
I'm getting a timeout for a GraphQL request executed on GitHub and I end up with the following:
Note the stracktrace with absolutely no user code, nor any reference to the query.
Thus I have absolutely no idea which query is causing the issue, which is kind of a bummer.
Any chance we could improve this?
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: