human-panic icon indicating copy to clipboard operation
human-panic copied to clipboard

Panic messages for humans.

Results 26 human-panic issues
Sort by recently updated
recently updated
newest added

The other tests only needed modified to fix a column number. The action was mysteriously only running one of the tests - I've fixed that. This should help prevent regressions...

human-panic currently skips a hardcoded number of frames which is... not what you want to do: https://github.com/rust-cli/human-panic/blob/c0e52f47213eebfb3212f8029ff5705fd0e0c091/src/report.rs#L47-L52 https://github.com/rust-cli/human-panic/blob/c0e52f47213eebfb3212f8029ff5705fd0e0c091/src/report.rs#L66-L71 Rust emits two magic frame names to delimit the "runtime glue" from...

related to #54 Perhaps not the best name, but my proposal to allow specifying what to do with the report itself. The original text will show if not specified so...

Currently `Report::persist` uses `env::temp_dir()` to get a base folder to save a panic report ```Rust /// Write a file to disk. pub fn persist(&self) -> Result

This PR adds an option to provide a custom function to write the message. I've also fixed a small typo in one of the tests. I haven't added any documentation...