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

Priority

Highest

Fix versions

Ported to...

Corda Enterprise 4.2
Corda Enterprise 4.3
Corda 4.4
Corda Enterprise 4.4

Feature Team

Kernel Group

CVSS Vector

None

Severity

High

Sprint

None
Configure