diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc index 5c61571219..cd594be5b8 100644 --- a/src/inspector/injected-script.cc +++ b/src/inspector/injected-script.cc @@ -256,6 +256,7 @@ std::unique_ptr InjectedScript::create( InspectedContext* inspectedContext, int sessionId) { v8::Isolate* isolate = inspectedContext->isolate(); v8::HandleScope handles(isolate); + v8::TryCatch tryCatch(isolate); v8::Local context = inspectedContext->context(); v8::Context::Scope scope(context); v8::MicrotasksScope microtasksScope(isolate,