Hi Team, consider i have following script.

function run() {
console.log("before logger");
let promise = import("./logger.js");
promise.then(
    function (module) {
        const x = 10;
        x++;
    },
    function (err) {
        console.log(JSON.stringify(err));
    }
);
console.log("after logger");
}

in this case promise success function, have error which changing the const 
value.
but Local<Function> call of that run function, return true in c++. also 
there is no error caught in v8::TryCatch in c++. 

how to catch the error's after resolving the module.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/9a3e4829-aa3c-441c-ac5a-531ff25ef4f6n%40googlegroups.com.

Reply via email to