Skip to content

Commit

Permalink
expose AdminClient exception when failing to describe the cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Gergely Harmadas committed Nov 12, 2024
1 parent 06a4577 commit be0cd50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void configure(Map<String, ?> 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) {
Expand Down

0 comments on commit be0cd50

Please sign in to comment.