Constellation-Labs / tessellation

Monadic execution contexts for topology organization
Apache License 2.0
49 stars 28 forks source link

fix: catch exceptions during DataApp onSnapshotConsensusResult #948

Closed scasplte2 closed 2 days ago

scasplte2 commented 3 days ago

Summary

Invocation of onSnapshotConsensusResult may throw an exception due to improper error handling by the metagraph developer. If an exception is thrown the underlying consensus process enters a stalled state and the ML0 application must be restarted to recover.

Changes

Testing

marcinwadon commented 3 days ago

FYI - there is no need to label PRs since the PR title contains the scope and labels were used for changelog generation (no longer used)