forked from GitHub/dbot
merge earlier
This commit is contained in:
parent
4891b70ec3
commit
b08e12560f
12
run.js
12
run.js
@ -295,19 +295,7 @@ DBot.prototype.reloadModules = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.modules[module.name] = module;
|
this.modules[module.name] = module;
|
||||||
<<<<<<< HEAD
|
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
=======
|
|
||||||
} catch(err) {
|
|
||||||
console.log(this.t('module_load_error', { 'moduleName': name }));
|
|
||||||
this.status[name] = err + ' - ' + err.stack.split('\n')[1].trim();
|
|
||||||
if(this.config.debugMode) {
|
|
||||||
console.log('MODULE ERROR (' + name + '): ' + err.stack );
|
|
||||||
} else {
|
|
||||||
console.log('MODULE ERROR (' + name + '): ' + err );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
>>>>>>> 2afb1c6ba37eb92f875124c754453bb063f42277
|
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
process.nextTick(function() {
|
process.nextTick(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user