Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In debug mode log all imported uncaught exceptions #1179

Merged
merged 1 commit into from
Jan 15, 2019

Commits on Jan 14, 2019

  1. In debug mode log all imported uncaught exceptions

    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 rustwasm#1176
    alexcrichton committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    f2f11a0 View commit details
    Browse the repository at this point in the history