From 20314991a48e93caef164fbbaced0c914fb6bfbd Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 28 Oct 2014 00:33:58 -0400 Subject: [PATCH] tmp error check --- src/webserver.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webserver.js b/src/webserver.js index 95d32237cf..7df1608d1e 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -103,6 +103,8 @@ if(nconf.get('ssl')) { module.exports.server = server; module.exports.init = function(callback) { server.on("error", function(err){ + winston.error(err.stack); + console.log(err.stack); if (err.code === 'EADDRINUSE') { winston.error('NodeBB address in use, exiting...'); if (cluster.isWorker) {