Skip to main content

install_hook

Function install_hook 

Source
pub fn install_hook()
Expand description

Install a panic hook that records the location and stays quiet.

Without this the default hook prints a backtrace to stderr for every caught panic, which is noise when the error page is about to show the same thing.