diff --git a/src/node_http2.cc b/src/node_http2.cc index 12a6aeca1524a6..9bde7b4b5670f7 100755 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -868,7 +868,7 @@ void Http2Session::OnTrailers(Nghttp2Stream* stream, }; Local ret = MakeCallback(env()->ontrailers_string(), - arraysize(argv), argv); + arraysize(argv), argv).ToLocalChecked(); if (!ret.IsEmpty()) { if (ret->IsArray()) { Local headers = ret.As();