diff --git a/src/app.ts b/src/app.ts index 21e6668..da41b25 100644 --- a/src/app.ts +++ b/src/app.ts @@ -31,6 +31,7 @@ const app = express(); // Connect to MongoDB const mongoUrl = MONGODB_URI; (mongoose).Promise = bluebird; +logger.debug(`Connecting to database with connection string: ${mongoUrl}`); mongoose.connect(mongoUrl, {useMongoClient: true}).then( () => { /** ready to use. The `mongoose.connect()` promise resolves to undefined. */ }, ).catch(err => {