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 module-level middleware errors #5011

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

damip
Copy link
Contributor

@damip damip commented Aug 13, 2024

Adds the ability to return errors from module-level middleware. This allows a middleware to cancel compilation cleanly.

closes #5010

Adds the ability to return errors from module-level middleware.
This allows a middleware to cancel compilation cleanly.
@damip damip requested a review from syrusakbary as a code owner August 13, 2024 08:10
@syrusakbary
Copy link
Member

This looks good, is a small breaking change, but it makes full sense.

Merging manually as we have some integration tests failing (not because of this PR)

@syrusakbary syrusakbary merged commit 89790c4 into wasmerio:main Aug 13, 2024
62 of 63 checks passed
@damip damip mentioned this pull request Aug 13, 2024
8 tasks
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.

Allow module-level middleware to return an error to cancel compilation
2 participants