We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4aabd7 commit 8fd9840Copy full SHA for 8fd9840
database/db.js
@@ -6,7 +6,5 @@ mongoose.Promise = global.Promise
6
mongoose.connect(process.env.DB_HOST).then(function (e){
7
console.log('Connected to MongoDB! 😃🔥')
8
}).catch(function (e){
9
- console.error(
10
- 'Failed to connect to MongoDB 😕💥 \nCheck your DB_HOST environment variable then restart the server'
11
- )
+ console.error('Failed to connect to MongoDB 😕💥 ')
12
})
0 commit comments