Commit 33b8cbbb authored by chrislovecnm's avatar chrislovecnm

catching all Exceptions which allows for running outside of k8s easier

parent 3b51d113
......@@ -152,7 +152,7 @@ public class KubernetesSeedProvider implements SeedProvider {
logger.warn("Endpoints are not available using default seeds in cassandra.yaml");
return Collections.unmodifiableList(defaultSeeds);
}
} catch (IOException | NoSuchAlgorithmException | KeyManagementException ex) {
} catch (Exception ex) {
logger.warn("Request to kubernetes apiserver failed, using default seeds in cassandra.yaml", ex);
return Collections.unmodifiableList(defaultSeeds);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment