Skip to content

Conversation

@wenbingshen
Copy link
Member

Modifications

getPoliciesAsync may return an exception wrapped as CompletionException

Documentation

  • [x ] doc-not-needed

Copy link
Member

@tisonkun tisonkun left a 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.

Copy link
Member

@tisonkun tisonkun left a 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.

@Technoboy- Technoboy- changed the title fix unWarp Exception when getPoliciesAsync [fix][admin] Fix unWrap Exception when getPoliciesAsync Aug 24, 2022
@Technoboy- Technoboy- added this to the 2.12.0 milestone Aug 24, 2022
@Technoboy- Technoboy- added type/bug The PR fixed a bug or issue reported a bug area/admin release/2.10.2 release/2.11.1 labels Aug 24, 2022
@wenbingshen
Copy link
Member Author

/pulsarbot run-failure-checks

2 similar comments
@wenbingshen
Copy link
Member Author

/pulsarbot run-failure-checks

@wenbingshen
Copy link
Member Author

/pulsarbot run-failure-checks

@github-actions
Copy link

@wenbingshen Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

Technoboy- pushed a commit to Technoboy-/pulsar that referenced this pull request Aug 26, 2022
@wenbingshen wenbingshen deleted the fix_unwarpException branch August 29, 2022 05:58
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Aug 29, 2022
Jason918 pushed a commit that referenced this pull request Sep 4, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Sep 16, 2022
(cherry picked from commit 70661e3)
(cherry picked from commit c8e46ff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants