diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 31947309a050d2..39f67c482382b2 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -366,7 +366,7 @@ function onSelectPadding(fn) { // will be deferred until the socket is ready to go. function requestOnConnect(headers, options) { const session = this[kSession]; - debug(`HttpSession ${sessionName(session[kType])}: connected, ` + + debug(`Http2Session ${sessionName(session[kType])}: connected, ` + 'initializing request'); const streams = session[kState].streams; @@ -1011,7 +1011,7 @@ class ClientHttp2Session extends Http2Session { const state = this[kState]; if (state.destroyed || state.destroying) throw new errors.Error('ERR_HTTP2_INVALID_SESSION'); - debug(`HttpSession ${sessionName(this[kType])}: initiating request`); + debug(`Http2Session ${sessionName(this[kType])}: initiating request`); this[kUpdateTimer]();