Skip to content

Prevent panic mode crashes by used port #2

@Xythus

Description

@Xythus

The panic mode code should be as resilient as possible to ensure that panic mode code is finishes executing all the way (logging fatal errors, notifying other systems, etc.)

One problem in the example code is the static port on which the panic mode files are hosted. If this port is in use, the master thread will die. This error should be caught and the application could try to, for example, listen on port + 1. Ideally, the port used should be logged in the console.

A PR for this issue can be made by whomever feels the need to improve this example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions