ENT-6586: Validate when signing that output states can be deserialized. (#7055)

* ENT-6586: Log warning instead of debug if state cannot be deserialized.
This commit is contained in:
Adel El-Beik 2022-02-07 18:05:59 +00:00 committed by GitHub
parent c955093ce8
commit 5c052e9273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,7 +271,7 @@ class NodeVaultService(
// This will cause a failure as we can't deserialize such states in the context of the `appClassloader`.
// For now we ignore these states.
// In the future we will use the AttachmentsClassloader to correctly deserialize and asses the relevancy.
log.debug { "Could not deserialize state $idx from transaction $txId. Cause: $e" }
log.warn("Could not deserialize state $idx from transaction $txId. Cause: $e")
null
}
}.toMap()