catching all Exceptions which allows for running outside of k8s easier

This commit is contained in:
chrislovecnm 2016-05-24 16:11:33 -06:00
parent f075c5fd6e
commit 33dcbccba1
2 changed files with 1 additions and 1 deletions

View File

@ -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);
}