From 196ec78b4fdced94b32686a89746b2a31aab38b3 Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Mon, 27 Feb 2023 09:53:53 +0100 Subject: [PATCH] net: fix error message --- lib/_http_server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_http_server.js b/lib/_http_server.js index 281ec46e9dc347..b43101215e9330 100644 --- a/lib/_http_server.js +++ b/lib/_http_server.js @@ -830,7 +830,7 @@ function warnUnclosedSocket() { warnUnclosedSocket.emitted = true; process.emitWarning( - 'An error event has already been emitted on the request. ' + + 'An error event has already been emitted on the socket. ' + 'Please use the destroy method on the socket while handling a clientError event.', ); }