diff --git a/src/node_http2.cc b/src/node_http2.cc index c3aa4981877120..c5328cc4f4d233 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -1691,7 +1691,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),