Skip to content

Commit

Permalink
feat: show stack traces when capturing errors in the handler (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel authored Oct 20, 2023
1 parent 7cc183e commit 582ba99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kits/javascript/shims/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const requestToHandler = input => {
error = `Couldn't process the response from the handler:\n${err}`;
});
} catch (err) {
error = `There was an error running the handler:\n${err}`;
error = `There was an error running the handler:\n${err}\n${err.stack}`;
}
};

Expand Down
Binary file modified kits/javascript/wasm-workers-quick-js-engine.wasm
Binary file not shown.

0 comments on commit 582ba99

Please sign in to comment.