diff --git a/packages/bruno-js/src/sandbox/quickjs/index.js b/packages/bruno-js/src/sandbox/quickjs/index.js index 79ee2b8e8..288373bc8 100644 --- a/packages/bruno-js/src/sandbox/quickjs/index.js +++ b/packages/bruno-js/src/sandbox/quickjs/index.js @@ -160,6 +160,7 @@ const executeQuickJsVmAsync = async ({ script: externalScript, context: external } catch(error) { console?.debug?.('quick-js:execution-end:with-error', error?.message); + throw new Error(error?.message); } return 'done'; })()