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 wasmtime trap information on function call errors, if available #620

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tessi
Copy link
Owner

@tessi tessi commented Aug 13, 2024

Function call errors into web assembly now have more detail if wasmtimes trap information is available. This helps, for example, when using fuel and the wasmtime store is out of fuel:

Error during function excecution (wasm trap: all fuel consumed by WebAssembly): error while executing at wasm backtrace:
    0: 0x3618 - wasmex_test.wasm!void

The new information is added in parenthesis just after the Error during function excecution message.

See: #617

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.

1 participant