Skip to content

Commit

Permalink
fix: remove console.error (#951) (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonnilsson authored May 7, 2024
1 parent bba422b commit ac4f2e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/handlers/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ac4f2e0

Please sign in to comment.