diff --git a/src/app.js b/src/app.js index f9c85d2..943cc22 100644 --- a/src/app.js +++ b/src/app.js @@ -24,7 +24,8 @@ passportConfig(passport); mongoose.set('strictQuery', false); mongoose .connect(mongoDbUri, {useNewUrlParser: true, useUnifiedTopology: true}) - .catch(() => { + .catch((err) => { + console.log('Mongo err:', err); process.exit(); });