Files
pezkuwi-subxt/substrate/primitives/panic-handler/README.md
T
Chevdor a30092ab42 Markdown linter (#1309)
* Add markdown linting

- add linter default rules
- adapt rules to current code
- fix the code for linting to pass
- add CI check

fix #1243

* Fix markdown for Substrate
* Fix tooling install
* Fix workflow
* Add documentation
* Remove trailing spaces
* Update .github/.markdownlint.yaml

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Fix mangled markdown/lists
* Fix captalization issues on known words
2023-09-04 12:02:32 +03:00

11 lines
398 B
Markdown

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