mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 00:10:25 +01:00
tmp error check
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user