3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

Modified module error output

This commit is contained in:
Daniel Evans 2012-12-24 03:08:36 +00:00
parent 3bfa3d58c3
commit bea13e56f8

2
run.js
View File

@ -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();