Skip to content

Get rid of panics in commit_monitor #345

@joepio

Description

@joepio

Handler<CommitMessage> has a bunch of .unwrap()s because the handle function in actix does not return a Result.

I don't want to panic the server when anything here goes wrong (at least not in production). I'd rather log the error, and keep the thing going.

Maybe use catch_unwind? Edit: does not seem to work, I can't move the logic to a closure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions