All Questions
Tagged with error-handling systemd
1 question
2
votes
1
answer
5k
views
Best way to handle 'MongoError: failed to connect to server on first connect' in Mongoose
In this GitHub issue for mongoose the developer stated that it is intended behaviour to crash the Node.js process if the initial database connection to MongoDB fails. It does this instead of trying to ...