diff --git a/cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/config/KafkaAdminTopicConfigProvider.java b/cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/config/KafkaAdminTopicConfigProvider.java index 44ffd0310..ef86d5334 100644 --- a/cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/config/KafkaAdminTopicConfigProvider.java +++ b/cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/config/KafkaAdminTopicConfigProvider.java @@ -171,7 +171,7 @@ public void configure(Map configs) { try { clusterConfigs = describeClusterConfigs(_adminClient, DESCRIBE_CLUSTER_CONFIGS_TIMEOUT); } catch (InterruptedException | ExecutionException e) { - throw new RuntimeException("Failed to describe Kafka cluster configs."); + throw new RuntimeException("Failed to describe Kafka cluster configs.", e); } if (clusterConfigs != null) {