mirror of
https://github.com/corda/corda.git
synced 2025-03-12 07:23:59 +00:00
bug fix on null checking Corda.kt
This commit is contained in:
parent
23ca884316
commit
0092071231
@ -166,7 +166,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
node.run()
|
||||
} catch (e: Exception) {
|
||||
if (e.message!!.startsWith("Unknown named curve:")) {
|
||||
if (e.message?.startsWith("Unknown named curve:") ?: false) {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user