diff --git a/src/node_api.cc b/src/node_api.cc index bde59c6ade6710..3a65862991c254 100644 --- a/src/node_api.cc +++ b/src/node_api.cc @@ -2781,7 +2781,7 @@ class Work { // report it as a fatal exception. (There is no JavaScript on the // callstack that can possibly handle it.) if (!env->last_exception.IsEmpty()) { - v8::TryCatch try_catch; + v8::TryCatch try_catch(env->isolate); env->isolate->ThrowException( v8::Local::New(env->isolate, env->last_exception)); node::FatalException(env->isolate, try_catch);