summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-03-13 21:02:59 -0400
committerLLLL Colonq <llll@colonq>2025-03-13 21:02:59 -0400
commit7407dc2a99ce74ae733c350ad239d2a4017e0684 (patch)
tree282ba9db5ef9df43523358e951ce3787187a30df /src/lib.rs
parentefd38f455965e71233a6a6df4e803736fd1190fd (diff)
Use custom panic handler
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...");