mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
82bcde573b
When an incorrect message is received, the flow should resume to allow it to throw the error back to user code and possibly cause the flow to fail. For now, if an `EndSessionMessage` is received instead of a `DataSessionMessage`, then an `UnexpectedFlowEndException` is thrown back to user code. Allowing it to correctly re-enter normal flow error handling. Without this change, the flow will hang due to it failing while creating a transition which exists outside of the general state machine error handling code path. |
||
---|---|---|
.. | ||
integration-test | ||
integration-test-slow/kotlin/net/corda | ||
main | ||
test |