-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][admin] Fix unWrap Exception when getPoliciesAsync #17249
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
Conversation
tisonkun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wenbingshen can you share a real-world failure instance with stacktrace?
IIUC ComplateableFuture#exceptionally should take the inner exception instead of a CompletionException. If so, it's likely something wrong from the dependent future.
tisonkun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. The exception should be always CompletionException.
LGTM.
|
/pulsarbot run-failure-checks |
2 similar comments
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
|
@wenbingshen Please provide a correct documentation label for your PR. |
(cherry picked from commit 70661e3)
Modifications
getPoliciesAsyncmay return an exception wrapped asCompletionExceptionDocumentation
doc-not-needed