Re: [v8-users] Try-Catch block scope and callback.

2016-10-24 Thread Ben Noordhuis
On Mon, Oct 24, 2016 at 9:36 AM, Jane Chen wrote: > Embedding v8 5.3. In my embedding application, the user can make some > updates and the updates are committed as one transaction when the script > exits. When one statement throws an error which is caught by a try-catch > block, the scope of th

[v8-users] Try-Catch block scope and callback.

2016-10-24 Thread Jane Chen
Embedding v8 5.3. In my embedding application, the user can make some updates and the updates are committed as one transaction when the script exits. When one statement throws an error which is caught by a try-catch block, the scope of the try-catch block determines the aborted changes. Here