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: throw exception when extism_error() returns a non-null string #20

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

mhmd-azeez
Copy link
Contributor

@mhmd-azeez mhmd-azeez commented Jun 30, 2024

This PR fixes the cases where the plugin panics (so extism_error is not null) but extism_call_function returns 0

I also updated extism.h

@bhelx bhelx merged commit 09c4227 into main Jul 1, 2024
2 checks passed
@bhelx bhelx deleted the fix-exception branch July 1, 2024 13:50
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