show stack

This commit is contained in:
barisusakli
2014-09-21 22:07:08 -04:00
parent 8c600ae15d
commit c640e01969
4 changed files with 5 additions and 5 deletions

View File

@@ -75,8 +75,8 @@
if(nconf.get('mongo:password') && nconf.get('mongo:username')) {
db.authenticate(nconf.get('mongo:username'), nconf.get('mongo:password'), function (err) {
if(err) {
winston.error(err.message);
if (err) {
winston.error(err.stack);
process.exit();
}
createIndices();