mirror of
https://github.com/corda/corda.git
synced 2025-04-07 11:27:01 +00:00
When an uncaught exception propagates all the way to the flow exception handler, the flow will be forced into observation/hospitalised. The updating of the checkpoints status is done on a separate thread as the fiber cannot be relied on anymore. The new thread is needed to allow database transaction to be created and committed. Failures to the status update will be rescheduled to ensure that this information is eventually reflected in the database.