Answer the question
In order to leave comments, you need to log in
How to handle database connection error with express-session?
The situation when at the time of starting the database server is not working. In my application (mongoose), if there is no connection to the database, it just sends a notification, but the work is not interrupted. connect-mongo
does not use mongoose and is connected separately. It is not clear how to handle the error in this case?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question