diff --git a/index.js b/index.js index 7bce34e..32e3046 100644 --- a/index.js +++ b/index.js @@ -90,7 +90,7 @@ mongoose console.log("Connected to DB"); }) .catch((err) => { - res.render("error"); + console.log(err); }); app.listen(PORT, () => {