mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-11 09:23:10 +02:00
show stack
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user