diff options
Diffstat (limited to 'src/inspector_js_api.cc')
-rw-r--r-- | src/inspector_js_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_js_api.cc b/src/inspector_js_api.cc index 8b55146dbe5..51ec14a63a1 100644 --- a/src/inspector_js_api.cc +++ b/src/inspector_js_api.cc @@ -280,7 +280,7 @@ void Initialize(Local<Object> target, Local<Value> unused, ->GetFunction(context) .ToLocalChecked(); auto name_string = FIXED_ONE_BYTE_STRING(env->isolate(), "consoleCall"); - target->Set(context, name_string, consoleCallFunc).FromJust(); + target->Set(context, name_string, consoleCallFunc).Check(); consoleCallFunc->SetName(name_string); env->SetMethod( |