Function panic_set_hook

Source
pub fn panic_set_hook(panic_info: &PanicHookInfo<'_>)
Expand description

The original Rust report of the panic is ugly for the end user

For panics I log the location. If the message contains “Exiting…” than it is a forced “not-error exit” and the location is not important.