Jason918 commented on a change in pull request #13805:
URL: https://github.com/apache/pulsar/pull/13805#discussion_r787597418



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
##########
@@ -709,6 +698,19 @@ protected void 
internalDeletePartitionedTopic(AsyncResponse asyncResponse, boole
                 log.error("[{}] Failed to delete partitioned topic {}", 
clientAppId(), topicName, e1);
                 asyncResponse.resume(new RestException(e1));
             }
+        }).exceptionally(ex ->{
+            Throwable cause = ex.getCause();

Review comment:
       This ex could be `new RestException(Status.FORBIDDEN, "Need to 
authenticate to perform the request")`




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