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

Do not strip out panic messages in debug builds #326

Merged
merged 2 commits into from
Aug 12, 2021
Merged

Conversation

athei
Copy link
Contributor

@athei athei commented Aug 12, 2021

We should keep the panic messages for debug builds because they convey valuable information. Until Result based error handling is implemented that is even the only way of reacting to runtime errors (as opposed to programming errors for which panics are usually used).

Copy link
Collaborator

@cmichi cmichi left a comment

Choose a reason for hiding this comment

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

CI is currently failing, but just because the size of the Wasm blob increased in debug mode now (which is expected). Can you adapt the test?

@athei
Copy link
Contributor Author

athei commented Aug 12, 2021

Building that test in release mode now. That should fix it.

Copy link
Collaborator

@cmichi cmichi left a comment

Choose a reason for hiding this comment

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

I'll do a release soonish.

@cmichi cmichi merged commit 7bc6097 into master Aug 12, 2021
@cmichi cmichi deleted the at-panic-message branch August 12, 2021 13:22
cmichi added a commit that referenced this pull request Aug 12, 2021
HCastano pushed a commit that referenced this pull request Aug 12, 2021
* Add log output

* Add #326 to changelog

* Bump version

* Fix changelog
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.

None yet

2 participants