summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1d7d061..ecbd4bf 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -63,7 +63,7 @@ where
env_logger::Builder::new()
.filter(None, log::LevelFilter::Info)
.init();
- color_eyre::install().expect("failed to install panic handler");
+ install_error_handler();
log::info!("hello computer, starting up...");
@@ -190,7 +190,7 @@ where
console_log::init_with_level(log::Level::Debug).unwrap();
console_error_panic_hook::set_once();
tracing_wasm::set_as_global_default();
- color_eyre::install().expect("failed to install panic handler");
+ install_error_handler();
log::info!("hello computer, starting up...");