Added a helpful error log when validating keystores.

This commit is contained in:
Clinton Alexander
2018-02-16 11:49:51 +00:00
committed by Clinton
parent 5b93abdc57
commit 003e14ce57

View File

@ -589,6 +589,7 @@ abstract class AbstractNode(val configuration: NodeConfiguration,
log.warn("Certificate key store found but key store password does not match configuration.") log.warn("Certificate key store found but key store password does not match configuration.")
false false
} catch (e: IOException) { } catch (e: IOException) {
log.error("IO exception while trying to validate keystore", e)
false false
} }
require(containCorrectKeys) { require(containCorrectKeys) {