mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-27 13:01:29 +00:00
chore: fix panic compose example
This commit is contained in:
parent
48037df311
commit
22ac4dab5f
@ -6,7 +6,9 @@ fn main() -> Result<(), Report> {
|
||||
#[cfg(feature = "capture-spantrace")]
|
||||
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()?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user