I have a pre request script below in the collection. I create a get request in the collection and send it. The request still send without throwing any error. Is it a bug? I don’t have this issue when I used a old version with scratchpad.
console.log('test1');
(async function main() {
console.log('test2');
throw new Error("error 1");
console.log('test3');
})();
Version 10.18.9
UI Version: 10.18.9-ui-230926-0710
Desktop Platform Version: 10.18.7 (10.18.7)
Also, it works for the old version when I use scratchpad in postman. Error will thrown and the request will not start in the collections. After update to the new version, this behaviour disappear.