more cleanup; commenting out custom plugin routes until its fixed properly

This commit is contained in:
psychobunny
2014-03-05 17:13:55 -05:00
parent c0cd6148f4
commit 8f7a7fec7d
7 changed files with 26 additions and 26 deletions

View File

@@ -84,12 +84,12 @@ if(nconf.get('ssl')) {
module.exports.init = function () {
plugins.fireHook('action:app.load', app);
server.on("error", function(e){
if (e.code === 'EADDRINUSE') {
server.on("error", function(err){
if (err.code === 'EADDRINUSE') {
winston.error('NodeBB address in use, exiting...');
process.exit(1);
} else {
throw e;
throw err;
}
});