mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
EG-2564 - Move printed error to logger (#6323)
This commit is contained in:
parent
550b446b87
commit
8b7275eb97
@ -333,8 +333,7 @@ open class NodeStartup : NodeStartupLogging {
|
||||
if (devMode) return true
|
||||
|
||||
if (!certDirectory.isDirectory()) {
|
||||
printError("Unable to access certificates directory ${certDirectory}. This could be because the node has not been registered with the Identity Operator.")
|
||||
printError("Node will now shutdown.")
|
||||
logger.error("Unable to access certificates directory ${certDirectory}. This could be because the node has not been registered with the Identity Operator. Node will now shutdown")
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user