Skip to content

Application should abort on panic in any of the threads #213

@mickvandijke

Description

@mickvandijke

Currently, when there is a panic in any of our spawned tokio tasks, the application will continue to run. Only the specific task from where the panic originated will be aborted.

I believe that we should change this behaviour to abort the main runtime on any panic. Whether it is from the main runtime or from a spawned task.

The problem with the current behaviour is mainly that the app will continue to run even if one or multiple servers (HttpTracker, Api, UdpTracker) yield a panic when trying to start them.

Relevant discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    - User -Enjoyable to Use our SoftwareBugIncorrect BehaviorSecurityPublicly Connected to Security

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions