You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v1.3.0, when the js code throws an exception it seems to be getting swallowed by some top-level trap:
$ cat examples/exception/script.js
function greet() {
throw new Error("I am a JS exception")
}
module.exports = { greet };
$ extism call examples/exception.wasm greet --input="Hello" --wasi
Error: Exception generated by QuickJS
returned non-zero exit code: 4294967295
This exit code a bit bizarre also. I suspect this might be related to the rquickjs refactor but not sure. When we do figure it out we need to add a test for this.
The text was updated successfully, but these errors were encountered:
Fixes#109
Just a test to repro for now. I tried to upgrade quickjs. Did some other
house cleaning while in here. It appears that the problem may be in
rquickjs, but maybe we are holding it wrong. Will look with Zach today.
As of v1.3.0, when the js code throws an exception it seems to be getting swallowed by some top-level trap:
This exit code a bit bizarre also. I suspect this might be related to the rquickjs refactor but not sure. When we do figure it out we need to add a test for this.
The text was updated successfully, but these errors were encountered: