chore: fix panic compose example

This commit is contained in:
Jayson Reis 2022-07-27 17:04:10 +02:00
parent 48037df311
commit 22ac4dab5f

View File

@ -6,7 +6,9 @@ fn main() -> Result<(), Report> {
#[cfg(feature = "capture-spantrace")] #[cfg(feature = "capture-spantrace")]
install_tracing(); install_tracing();
let (panic_hook, eyre_hook) = color_eyre::config::HookBuilder::default().into_hooks(); let (panic_hook, eyre_hook) = color_eyre::config::HookBuilder::default()
.into_hooks()
.expect("failed to setup hooks");
eyre_hook.install()?; eyre_hook.install()?;