From ac4f2e07739bbff3f31be47246a08fc02465b44e Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Tue, 7 May 2024 11:44:25 +0200 Subject: [PATCH] fix: remove console.error (#951) (#952) --- lib/handlers/connect.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/handlers/connect.js b/lib/handlers/connect.js index 6e27e6ad..43011d23 100644 --- a/lib/handlers/connect.js +++ b/lib/handlers/connect.js @@ -74,7 +74,6 @@ function init (client, packet, done) { if (returnCode > 0) { const error = new Error(errorMessages[returnCode]) error.errorCode = returnCode - console.error(error) doConnack( { client, returnCode, sessionPresent: false }, done.bind(this, error))