Closed
Description
The Application
struct spawns different components. If a spawned component panics, this is currently not handled properly. If this happens, then we need to either propagate the panic or fail the process. There are different ways to achieve it:
- compile the binary with
panic = abort
to abort on panics - Poll the returned
JoinHandle
to handle panics in spawned components - Use
catch_unwind
to catch panics and handle them (e.g. aborting the process or returning them as errors)
The latter approach is more selective but also prone to errors.
Metadata
Metadata
Assignees
Labels
No labels