Skip to content

Better error handling: Clean unwrap()/expected() #46

Description

@nmeylan

There are too many usage of unwrap or expected in the codebase.
Some are "safe", but the majority are not and lead to thread being terminated and the server is unusable.

Depending on where the error occurs we should:

  • Inform the client an error occurred
  • Log error details
  • Recover from the error

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions