checkstyle fixes

This commit is contained in:
Soby Chacko
2022-10-20 10:59:55 -04:00
parent cc04b0b13b
commit 8e5f2d546e

View File

@@ -263,7 +263,8 @@ public class KafkaTopicProvisioner implements
KafkaFuture<Map<String, TopicDescription>> all = describeTopicsResult
.allTopicNames();
return all.get(this.operationTimeout, TimeUnit.SECONDS);
} catch (Exception ex) {
}
catch (Exception ex) {
throw new ProvisioningException("Problems encountered with partitions finding for: " + topicName, ex);
}
});