diff --git a/src/io/ioserver.js b/src/io/ioserver.js index 30af3b18..a34007bd 100644 --- a/src/io/ioserver.js +++ b/src/io/ioserver.js @@ -228,7 +228,6 @@ module.exports = { } else { var server = require("http").createServer().listen(bind.port, bind.ip); server.on("clientError", function (err, socket) { - console.error("clientError on " + id + " - " + err); try { socket.destroy(); } catch (e) { diff --git a/src/server.js b/src/server.js index 31e5bfbe..6419fee6 100644 --- a/src/server.js +++ b/src/server.js @@ -96,7 +96,6 @@ var Server = function () { self.servers[id] = https.createServer(opts, self.express) .listen(bind.port, bind.ip); self.servers[id].on("clientError", function (err, socket) { - console.error("clientError on " + id + " - " + err); try { socket.destroy(); } catch (e) { @@ -105,7 +104,6 @@ var Server = function () { } else if (bind.http) { self.servers[id] = self.express.listen(bind.port, bind.ip); self.servers[id].on("clientError", function (err, socket) { - console.error("clientError on " + id + " - " + err); try { socket.destroy(); } catch (e) {