FlowAsyncOperation handles exceptions from the Future incorrectly.

Description

Currently, if the Future is completed with an exception, the flow immediately errors inside the state machine and notifies peers, without any ability to intercept the exception in the flow. What we want (and what the notary is expecting) is for the async call to throw the exception to the flow so it can be caught. Looking at the unit tests, we missing this test and one that inspects the type of the exception.

Assignee

Rick Parker

Reporter

Rick Parker

Labels

Sprint

None

Epic Link

None

Priority

Highest

Engineering Teams

Kernel

Fix versions

Ported to...

Corda Enterprise 4.2
Corda Enterprise 4.3
Corda 4.4
Corda Enterprise 4.4

Story Points / Dev Days

None

Build cut

None
Configure