diff --git a/src/node_http2.cc b/src/node_http2.cc index b31878582301ed..4aa9fceec18ced 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -1687,7 +1687,7 @@ void Http2Session::OnStreamReadImpl(ssize_t nread, // ssize_t to int. Cast here so that the < 0 check actually works on // Windows. if (static_cast(ret) < 0) { - DEBUG_HTTP2SESSION2(this, "fatal error receiving data: %d", ret); + DEBUG_HTTP2SESSION2(session, "fatal error receiving data: %d", ret); Local argv[1] = { Integer::New(isolate, ret),