mirror of
https://github.com/reality/dbot.git
synced 2024-12-28 13:42:36 +01:00
Modified module error output
This commit is contained in:
parent
3bfa3d58c3
commit
bea13e56f8
2
run.js
2
run.js
@ -229,7 +229,7 @@ DBot.prototype.reloadModules = function() {
|
||||
this.modules.push(module);
|
||||
} catch(err) {
|
||||
console.log(this.t('module_load_error', {'moduleName': name}));
|
||||
console.log('MODULE ERROR: ' + name + ' ' + err);
|
||||
console.log('MODULE ERROR (' + name + '): ' + err.stack );
|
||||
}
|
||||
}.bind(this));
|
||||
this.save();
|
||||
|
Loading…
Reference in New Issue
Block a user