gaoran10 commented on code in PR #14965:
URL: https://github.com/apache/pulsar/pull/14965#discussion_r843496609
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/TransactionsBase.java:
##########
@@ -501,7 +501,11 @@ protected void
internalGetCoordinatorInternalStats(AsyncResponse asyncResponse,
"This Broker is not configured with
transactionCoordinatorEnabled=true."));
}
} catch (Exception e) {
- asyncResponse.resume(new RestException(e.getCause()));
+ if (e instanceof ExecutionException) {
Review Comment:
Please check the method `resumeAsyncResponseExceptionally`, seems that it
already handles the `ExecutionException` case, we don't need to check it here.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]