This commit is contained in:
Belen Curcio
2016-11-01 12:15:17 -03:00
parent f98308212d
commit 2a1ee46026
+1 -1
View File
@@ -12,7 +12,7 @@ try {
mongoose.connect(process.env.TALK_MONGO_URL, (err, res) => {
if (err) throw err;
console.log('Connected to MongoDB!');
})
});
} catch (err) {
console.log('Cannot stablish a connection with MongoDB');
}