Removed duplicate change
parent
23ac0fdbe0
commit
801314f230
2
app.js
2
app.js
|
@ -382,7 +382,7 @@ app.on('uncaughtException', (err) => {
|
||||||
process.exit(2);
|
process.exit(2);
|
||||||
});
|
});
|
||||||
|
|
||||||
initDb(process.env.DB_URI || config.databaseConnectionString, async (err, db) => {
|
initDb(config.databaseConnectionString, async (err, db) => {
|
||||||
// On connection error we display then exit
|
// On connection error we display then exit
|
||||||
if(err){
|
if(err){
|
||||||
console.log(colors.red('Error connecting to MongoDB: ' + err));
|
console.log(colors.red('Error connecting to MongoDB: ' + err));
|
||||||
|
|
Loading…
Reference in New Issue