diff --git a/src/app.ts b/src/app.ts index 36e33a1..f41c158 100644 --- a/src/app.ts +++ b/src/app.ts @@ -33,7 +33,7 @@ mongoose.Promise = bluebird; mongoose.connect(mongoUrl, { useNewUrlParser: true, useCreateIndex: true, useUnifiedTopology: true } ).then( () => { /** ready to use. The `mongoose.connect()` promise resolves to undefined. */ }, ).catch(err => { - console.log("MongoDB connection error. Please make sure MongoDB is running. " + err); + console.log(`MongoDB connection error. Please make sure MongoDB is running. ${err}`); // process.exit(); });