mirror of
https://github.com/corda/corda.git
synced 2025-03-18 01:55:19 +00:00
Minor text update
This commit is contained in:
parent
96b46782c1
commit
5d1936a7a3
@ -753,7 +753,7 @@ class VaultObserverExceptionTest {
|
||||
|
||||
assertFailsWith<CordaRuntimeException>(
|
||||
"Flow ${SubscribingRawUpdatesFlow::class.java.name} tried to access VaultService.rawUpdates " +
|
||||
"- Rx.Observables should only be accessed to outside the context of a flow "
|
||||
"- Rx.Observables should only be accessed outside the context of a flow "
|
||||
) {
|
||||
flowHandle.returnValue.getOrThrow(30.seconds)
|
||||
}
|
||||
|
@ -218,13 +218,13 @@ class NodeVaultService(
|
||||
// it could prevent the flow/ fiber -object- get garbage collected.
|
||||
log.error(
|
||||
"Flow ${it.logic::class.java.name} tried to access VaultService.rawUpdates " +
|
||||
"- Rx.Observables should only be accessed to outside the context of a flow " +
|
||||
"- Rx.Observables should only be accessed outside the context of a flow " +
|
||||
"- aborting the flow "
|
||||
)
|
||||
|
||||
throw CordaRuntimeException(
|
||||
"Flow ${it.logic::class.java.name} tried to access VaultService.rawUpdates " +
|
||||
"- Rx.Observables should only be accessed to outside the context of a flow "
|
||||
"- Rx.Observables should only be accessed outside the context of a flow "
|
||||
)
|
||||
}
|
||||
// we are not inside a flow, we are most likely inside a CordaService;
|
||||
|
Loading…
x
Reference in New Issue
Block a user