tracing_panic_hook

Function tracing_panic_hook 

Source
pub fn tracing_panic_hook(panic_info: &PanicHookInfo<'_>)
Expand description

Panic hook that sends panic payload to [tracing::error], and backtrace if available.

This hook is enabled in setup_logging to make sure panics are traced.