diff options
| author | LLLL Colonq <llll@colonq> | 2025-03-13 21:02:59 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-03-13 21:02:59 -0400 |
| commit | 7407dc2a99ce74ae733c350ad239d2a4017e0684 (patch) | |
| tree | 282ba9db5ef9df43523358e951ce3787187a30df /src/lib.rs | |
| parent | efd38f455965e71233a6a6df4e803736fd1190fd (diff) | |
Use custom panic handler
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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..."); |
