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

Add panic hook for debugging wasm builds #146

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Conversation

luca-della-vedova
Copy link
Member

New feature implementation

Implemented feature

Add a panic hook to help debugging wasm builds. With this change the panic error is propagated all the way to the web console, making debugging a lot easier.

Implementation follows the example from the crate

Copy link
Collaborator

@mxgrey mxgrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very helpful for debugging in web browsers 👍

@mxgrey mxgrey merged commit a77f62a into main Aug 23, 2023
5 checks passed
@mxgrey mxgrey deleted the feature/wasm_panic_hook branch August 23, 2023 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants