1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-13 20:15:56 +00:00

Finally testing, things should be working a bit better now

This commit is contained in:
Scott Tolksdorf
2017-01-01 13:31:33 -08:00
parent 95c09ba7ad
commit 5ba3f98696
8 changed files with 70 additions and 84 deletions

View File

@@ -17,8 +17,8 @@ const config = require('nconf')
require('mongoose')
.connect(process.env.MONGODB_URI || process.env.MONGOLAB_URI || 'mongodb://localhost/naturalcrit')
.connection.on('error', () => {
console.log('Error : Could not connect to a Mongo Database.');
console.log(' If you are running locally, make sure mongodb.exe is running.');
console.error('Error : Could not connect to a Mongo Database.');
console.error(' If you are running locally, make sure mongodb.exe is running.');
});