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



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java
##########
@@ -1050,22 +1050,43 @@ public void validateTopicOperation(TopicName topicName, 
TopicOperation operation
     }
 
     public void validateTopicOperation(TopicName topicName, TopicOperation 
operation, String subscription) {
+        try {
+            validateTopicOperationAsync(topicName, operation, 
subscription).get();
+        } catch (InterruptedException | ExecutionException e) {
+            Throwable cause = e.getCause();
+            log.error("Validate Topic [%s] operation [%s] got server internal 
error.", cause);

Review comment:
       Please correct the log content.




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