mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
Descriptive error and suggest fix for unknown curve during node startup
This commit is contained in:
committed by
GitHub
parent
08cbcac40c
commit
30088a4984
@ -166,7 +166,11 @@ fun main(args: Array<String>) {
|
|||||||
}
|
}
|
||||||
node.run()
|
node.run()
|
||||||
} catch (e: Exception) {
|
} 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)
|
exitProcess(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user