Skip to content

Commit

Permalink
Expose AdminClient exception when failing to describe the cluster (#2222
Browse files Browse the repository at this point in the history
)
  • Loading branch information
harmadasg authored Jan 10, 2025
1 parent b81d646 commit 6b5fe9e
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 6b5fe9e

Please sign in to comment.