Removed duplicate change

master
Mark Moffat 2019-12-16 17:58:37 +10:30
parent 23ac0fdbe0
commit 801314f230
1 changed files with 1 additions and 1 deletions

2
app.js
View File

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