mirror of
https://github.com/corda/corda.git
synced 2025-03-12 07:23:59 +00:00
Descriptive error and suggest fix for unknown curve during node startup
This commit is contained in:
parent
1a47d60209
commit
60efce8f87
@ -166,7 +166,11 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
node.run()
|
||||
} catch (e: Exception) {
|
||||
log.error("Exception during node startup", e)
|
||||
if (e.message!!.startsWith("Unknown named curve:")) {
|
||||
log.error("Exception during node startup - ${e.message}. " +
|
||||
"This is a known OpenJDK issue on some Linux distributions, please use OpenJDK from zulu.org or Oracle JDK.")
|
||||
} else
|
||||
log.error("Exception during node startup", e)
|
||||
exitProcess(1)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user