Files
pezkuwi-subxt/substrate/primitives/panic-handler
Benjamin Kampmann 6a964c5df0 Releasing 3.0 (#8098)
* bumping version for next release
* add changelog
* add guide
2021-02-10 19:23:18 +01:00
..
2021-01-04 09:03:13 +00:00
2021-02-10 19:23:18 +01:00
2020-08-20 17:04:42 +02:00

Custom panic hook with bug report link

This crate provides the [set] function, which wraps around [std::panic::set_hook] and sets up a panic hook that prints a backtrace and invites the user to open an issue to the given URL.

By default, the panic handler aborts the process by calling [std::process::exit]. This can temporarily be disabled by using an [AbortGuard].

License: Apache-2.0