mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
CORDA-3012 More information in log warning for Cordapps missing advised JAR manifest file entries. (#5325)
This commit is contained in:
parent
d1289ec379
commit
eff762a5c3
@ -279,10 +279,8 @@ open class NodeStartup : NodeStartupLogging {
|
||||
|
||||
protected open fun logLoadedCorDapps(corDapps: List<CordappImpl>) {
|
||||
Node.printBasicNodeInfo("Loaded ${corDapps.size} CorDapp(s)", corDapps.map { it.info }.joinToString(", "))
|
||||
corDapps.map { it.info }.filter { it.hasUnknownFields() }.let { malformed ->
|
||||
if (malformed.isNotEmpty()) {
|
||||
logger.warn("Found ${malformed.size} CorDapp(s) with unknown information. They will be unable to run on Corda in the future.")
|
||||
}
|
||||
corDapps.filter { it.info.hasUnknownFields() }.forEach {
|
||||
logger.warn("${it.info} will be unable to run on Corda in the future due to missing entries in JAR's manifest file.")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user