tmp error check

v1.18.x
barisusakli 10 years ago
parent a4533703d4
commit 20314991a4

@ -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) {

Loading…
Cancel
Save