#tetcoin #blockchain #cryptography

panic-handler

Tetcore custom panic hook with bug report link

Show the crate…

3 stable releases

2.1.2 Jun 23, 2021
2.0.2 Apr 3, 2021
2.0.1 Mar 8, 2021
0.0.0 Mar 8, 2021

#61 in #tetcoin

Download history 287/week @ 2024-12-09 115/week @ 2024-12-16 129/week @ 2024-12-23 57/week @ 2024-12-30 83/week @ 2025-01-06 100/week @ 2025-01-13 169/week @ 2025-01-20 22/week @ 2025-01-27 55/week @ 2025-02-03 113/week @ 2025-02-10 95/week @ 2025-02-17 93/week @ 2025-02-24 18/week @ 2025-03-03 107/week @ 2025-03-10 106/week @ 2025-03-17 62/week @ 2025-03-24

306 downloads per month
Used in 54 crates (3 directly)

Apache-2.0

8KB
119 lines

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.


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

Dependencies

~2.3–8.5MB
~67K SLoC