mirror of
https://github.com/corda/corda.git
synced 2025-03-12 15:34:58 +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()
|
node.run()
|
||||||
} catch (e: Exception) {
|
} 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}. " +
|
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.")
|
"This is a known OpenJDK issue on some Linux distributions, please use OpenJDK from zulu.org or Oracle JDK.")
|
||||||
} else
|
} else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user