rust-cli / human-panic

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

How does it handle RUST_BACKTRACE? Where is a sample of report.toml? #23

Closed vi closed 6 years ago

vi commented 6 years ago

Is it automatically enabled?

I expect README to have more about it.

yoshuawuyts commented 6 years ago

PR currently in process in https://github.com/yoshuawuyts/human-panic/pull/20 :tada:

spacekookie commented 6 years ago

So, providing RUST_BACKTRACE via env variables doesn't make a difference with how human-panic functions. We print a backtrace now (coming in 0.4.0) but drop the backtrace printing provided by Rust itself because we override the panic hook.

But we should probably add an example report to the README :slightly_smiling_face:

killercup commented 6 years ago

Is this resolved, @spacekookie?

spacekookie commented 6 years ago

Yes, this is resolved :tada: