mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 18:29:11 +03:00
log
This commit is contained in:
parent
aaa085c416
commit
c2b6e7c31c
@ -56,7 +56,7 @@ MongoClient.connect(db_config.url, {useNewUrlParser: true, useUnifiedTopology: t
|
||||
})
|
||||
.catch((error) => {
|
||||
server.get('*', (req, res) => {
|
||||
res.send('Ошибка соединения с БД.');
|
||||
res.send('Произошла ошибка при запуске. Используйте команду "pm2 log" для того чтобы узнать ошибку.');
|
||||
console.log(error);
|
||||
});
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user