Tom Wenzheng Tang

Results 159 comments of Tom Wenzheng Tang

There is still a problem that needs to be addressed (maybe in a separate PR). ```js new Promise(function (resolve, reject) { reject(new Error('abc')); }); new Promise(function (resolve, reject) { });...

The changes in 1bcb1f85f1c4ad3a2264e37732733f043d85fb6b...28dcb36595f7e3c7e6eec8887395d556b0d50e7e are to make the program print the actual JS error than a double-wrapped `SpiderMonkeyError`. From ```console Uncaught Error: Python SpiderMonkeyError: Error in file xxx.js, on line...

The changes in 1bcb1f85f1c4ad3a2264e37732733f043d85fb6b...28dcb36595f7e3c7e6eec8887395d556b0d50e7e are to make the program print the actual JS error than a double-wrapped `SpiderMonkeyError`. From ```console Uncaught Error: Python SpiderMonkeyError: Error in file xxx.js, on line...

> For the first one is there a missing call? Please clarify, please make your examples super clear You'll need to put the whole thing into a js file and...

> For the first one is there a missing call? Please clarify, please make your examples super clear You'll need to put the whole thing into a js file and...

> @philippedistributive when run there was no output That's correct. It's expected to be an error but it exited normally without any error output. I should make it more clear...

> @philippedistributive when run there was no output That's correct. It's expected to be an error but it exited normally without any error output. I should make it more clear...

> > @philippedistributive when run there was no output > > That's correct. It's expected to be an error but it exited normally without any error output. I should make...

Also works for errors thrown in async functions ![image](https://github.com/Distributive-Network/PythonMonkey/assets/16057139/4a83f61b-29f2-447c-8644-81f43cfe8358)

Also works for errors thrown in async functions ![image](https://github.com/Distributive-Network/PythonMonkey/assets/16057139/4a83f61b-29f2-447c-8644-81f43cfe8358)