Skip to content

Use human-panic? #887

@spenserblack

Description

@spenserblack

What do you think about using human-panic for prettier panics?

In a --release build, this hook will change the message to

Well, this is embarrassing.

{{ crate_name }} had a problem and crashed. To help us diagnose the problem you can send us a crash report.

e have generated a report file at "/tmp/{{ filename }}.toml". Submit an issue or email with the subject of "{{ crate_name }} Crash Report" and include the report as an attachment.

We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.

Thank you kindly!

The hook also generates the named crash report on a panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions