chia7712 commented on code in PR #19857:
URL: https://github.com/apache/kafka/pull/19857#discussion_r2134170355


##########
metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java:
##########
@@ -871,6 +871,13 @@ private ApiError 
maybeCheckCreateTopicPolicy(Supplier<CreateTopicPolicy.RequestM
                 createTopicPolicy.get().validate(supplier.get());
             } catch (PolicyViolationException e) {
                 return new ApiError(Errors.POLICY_VIOLATION, e.getMessage());
+            } catch (Throwable e) {

Review Comment:
   Could you please add test for it?



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to