[][src]Function crash_handler::setup_panic_handler

pub fn setup_panic_handler()

Invoke to ensure process exits on a thread panic.

Tokio's default behavior is to catch panics and ignore them. Invoking this function will ensure that all subsequent thread panics (even Tokio threads) will report the details/backtrace and then exit.