codelipenghui commented on a change in pull request #14214:
URL: https://github.com/apache/pulsar/pull/14214#discussion_r806368067



##########
File path: 
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/transaction/TransactionCoordinatorClientException.java
##########
@@ -119,18 +120,13 @@ public static TransactionCoordinatorClientException 
unwrap(Throwable t) {
         } else if (t instanceof InterruptedException) {
             Thread.currentThread().interrupt();
             return new TransactionCoordinatorClientException(t);
-        }  else if (!(t instanceof ExecutionException)) {
+        }  else if (t instanceof CoordinatorNotFoundException) {

Review comment:
       ```suggestion
           } else if (t instanceof CoordinatorNotFoundException) {
   ```




-- 
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]


Reply via email to