diff --git a/src/node_api.cc b/src/node_api.cc index 8600783523c7a5..b0900d1acd12bb 100644 --- a/src/node_api.cc +++ b/src/node_api.cc @@ -2783,7 +2783,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);