| Crates.io | ckb-sentry-panic |
| lib.rs | ckb-sentry-panic |
| version | 0.21.0 |
| created_at | 2020-12-16 05:19:59.075571+00 |
| updated_at | 2020-12-16 05:19:59.075571+00 |
| description | Sentry integration for capturing panics. |
| homepage | |
| repository | https://github.com/nervosnetwork/sentry-rust |
| max_upload_size | |
| id | 323485 |
| size | 6,818 |
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.
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);
License: Apache-2.0