Replies: 3 comments
-
linking the PR #2133 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@paulbakker take a look, please |
Beta Was this translation helpful? Give feedback.
0 replies
-
closed in #2133 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, guys, I've been using this configuration to enable the virtual threads feature:
However, this causes the following problem: If an exception is thrown in a virtual thread task, for example, when a client lacks the necessary permissions, they should see an
Access Denied
message due to theAccessDeniedException
. Instead, they receive anInvocationTargetException
. To resolve this in my project, I used the following code:This code essentially does the same thing as
DefaultDataFetcherExceptionHandler
, so I think it would be a good idea to modify method,unwrapCompletionException
inDefaultDataFetcherExceptionHandler
to support this exception handling.Beta Was this translation helpful? Give feedback.
All reactions