Function sentry_panic::panic_handler

source ·
pub fn panic_handler(info: &PanicInfo<'_>)
Expand description

A panic handler that sends to Sentry.

This panic handler reports panics to Sentry. It also attempts to prevent double faults in some cases where it’s known to be unsafe to invoke the Sentry panic handler.