27 releases

0.31.7 Sep 14, 2023
0.31.5 Jun 16, 2023
0.30.0 Feb 24, 2023
0.29.1 Dec 1, 2022
0.19.0 Jun 18, 2020

#447 in Debugging

Download history 68817/week @ 2023-06-09 63984/week @ 2023-06-16 69270/week @ 2023-06-23 68409/week @ 2023-06-30 73979/week @ 2023-07-07 68385/week @ 2023-07-14 78370/week @ 2023-07-21 79368/week @ 2023-07-28 85501/week @ 2023-08-04 85516/week @ 2023-08-11 89652/week @ 2023-08-18 88560/week @ 2023-08-25 70343/week @ 2023-09-01 81078/week @ 2023-09-08 91928/week @ 2023-09-15 88804/week @ 2023-09-22

350,410 downloads per month
Used in 8 crates (via sentry)

Apache-2.0

180KB
3.5K SLoC

Sentry

Sentry Rust SDK: sentry-panic

The Sentry Panic handler integration.

The PanicIntegration, which is enabled by default in sentry, installs a panic handler that will automatically dispatch all errors to Sentry that are caused by a panic. Additionally, panics are forwarded to the previously registered panic hook.

Configuration

The panic integration can be configured with an additional extractor, which might optionally create a sentry Event out of a PanicInfo.

let integration = sentry_panic::PanicIntegration::default().add_extractor(|info| None);

Resources

License: Apache-2.0

Dependencies

~6.5–9.5MB
~204K SLoC