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

fix(invariant): 🐛 check for assert failures on handlers #4980

Merged
merged 1 commit into from
May 19, 2023

Conversation

bronzelle
Copy link
Contributor

Motivation

fixes #4718

Solution

check for assert failures on handler call result

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

nice find.

this could have an impact on efficiency but this is the only way to, well, ensure success.

given that this fixes the error, I think this should be included.

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.

Function-level assertions don't work when using invariants.
2 participants