forked from GitHub/dbot
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);
|
this.modules.push(module);
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
console.log(this.t('module_load_error', {'moduleName': name}));
|
console.log(this.t('module_load_error', {'moduleName': name}));
|
||||||
console.log('MODULE ERROR: ' + name + ' ' + err);
|
console.log('MODULE ERROR (' + name + '): ' + err.stack );
|
||||||
}
|
}
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
this.save();
|
this.save();
|
||||||
|
Loading…
Reference in New Issue
Block a user