We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314f22d commit 8d3162dCopy full SHA for 8d3162d
src/node_api.cc
@@ -2783,7 +2783,7 @@ class Work {
2783
// report it as a fatal exception. (There is no JavaScript on the
2784
// callstack that can possibly handle it.)
2785
if (!env->last_exception.IsEmpty()) {
2786
- v8::TryCatch try_catch;
+ v8::TryCatch try_catch(env->isolate);
2787
env->isolate->ThrowException(
2788
v8::Local<v8::Value>::New(env->isolate, env->last_exception));
2789
node::FatalException(env->isolate, try_catch);
0 commit comments