mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 18:01:06 +00:00
This commit updates the `--debug` output of `wasm-bindgen` from the CLI to catch all JS exceptions from imported functions, log such, and then rethrow. It's hoped that this can be used when necessary to learn more information about thrown exceptions and where an uncaught exception could be causing issues with Rust code. Closes #1176