rust-cli / human-panic

Panic messages for humans.
https://docs.rs/human-panic
Apache License 2.0
1.66k stars 65 forks source link

Include cause, whether on nightly or not #66

Closed curiousleo closed 4 years ago

curiousleo commented 4 years ago

🐛 Set cause, whether we're on nightly or not.

Previously there were two cases with two sub-cases:

That seems oddly complicated. This PR changes that to:

Checklist

Context

Vaguely related to https://github.com/rust-cli/human-panic/issues/55.

Semver Changes

This changes the format of the message users see. I think it's a bugfix, but if changing what users see is considered a breaking change, then this is a breaking change.

curiousleo commented 4 years ago

PTAL

curiousleo commented 4 years ago

PTAL

Profpatsch commented 4 years ago

pinging rust-cli WG members @codesections @Dylan-DPC @matthiasbeyer @XAMPPRocky

Our users cannot submit bug reports because of this bug, please merge and do point release, or we have to drop this package.

bjorn3 commented 4 years ago

@matthiasbeyer I am not a member of @rust-cli.

matthiasbeyer commented 4 years ago

Oh,... why were you picked as reviewer by github then? I cannot merge, unfortunately.

bjorn3 commented 4 years ago

I submitted a review, so github shows me in the list of reviewers.

codesections commented 4 years ago

I also don't have the correct permissions to merge this PR. It looks like @spacekookie would be able to, based on commit history.

Dylan-DPC-zz commented 4 years ago

Looks good to me. Merging it. Thanks @matthiasbeyer and special mention to @bjorn3 for showing up in the elite list of reviewers :wink:

Profpatsch commented 4 years ago

Can I ask for a version bump nonetheless? https://github.com/rust-cli/human-panic/issues/65