show panics in the toast in wasm (#4582)
This commit is contained in:
1 parent
165447a647
commit
74163984be
7 files changed
+68
-12
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user