mirror of
https://github.com/corda/corda.git
synced 2025-06-22 00:57:21 +00:00
Making sure non-serialisable objects in FlowException do not interfere with the flow session (#651)
Also TransactionVerificationException no longer has reference to non-serialisable LedgerTransaction
This commit is contained in:
@ -297,7 +297,7 @@ data class TestLedgerDSLInterpreter private constructor(
|
||||
}
|
||||
return EnforceVerifyOrFail.Token
|
||||
} catch (exception: TransactionVerificationException) {
|
||||
val transactionWithLocation = transactionWithLocations[exception.tx.id]
|
||||
val transactionWithLocation = transactionWithLocations[exception.txId]
|
||||
val transactionName = transactionWithLocation?.label ?: transactionWithLocation?.location ?: "<unknown>"
|
||||
throw VerifiesFailed(transactionName, exception)
|
||||
}
|
||||
|
Reference in New Issue
Block a user