show panics in the toast in wasm (#4582)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-08-19 17:13:13 -07:00
1 parent 165447a647
commit 74163984be
7 files changed
+68 -12

No files matched your search

-1
View File
@@ -91,7 +91,6 @@ pub fn init(level: Level) -> Result<(), SetGlobalDefaultError> {
let layer = tracing_wasm::WASMLayer::new(layer_config);
let reg = Registry::default().with(layer);
console_error_panic_hook::set_once();
set_global_default(reg)
}