sentry-panic

Crates.iosentry-panic
lib.rssentry-panic
version0.35.0
sourcesrc
created_at2020-06-18 13:47:41.370178
updated_at2024-11-29 09:30:02.566052
descriptionSentry integration for capturing panics.
homepagehttps://sentry.io/welcome/
repositoryhttps://github.com/getsentry/sentry-rust
max_upload_size
id255339
size18,794
Sentry Bot (getsentry-bot)

documentation

README

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

Commit count: 1057

cargo fmt