Skip to main content

panic_event_from

Function panic_event_from 

Source
pub(crate) fn panic_event_from(
    panic_info: &PanicHookInfo<'_>,
    panic_report: impl ToString,
) -> Event<'static>
Expand description

Builds the Sentry event for a panic.

Like Sentry’s panic integration, the panic message becomes the issue title and the current stack trace locates and groups it. Zebra’s panic report is attached for its diagnostic metadata.