merlimat opened a new pull request #9133: URL: https://github.com/apache/pulsar/pull/9133
### Motivation If there is an exception in the `whenComplete()` block, the exception is "eaten" up and the `loopPromise` is never set to failed. Instead, it's better to use the `thenAccept().exceptionally()` to ensure that any exception in the first handler will be propagated back. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
