From bb1f87cd0258397fd104c3bcd18c6011b8424e01 Mon Sep 17 00:00:00 2001 From: hizaidii <90659514+hizaidii@users.noreply.github.com> Date: Wed, 14 Feb 2024 03:06:43 +0530 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, () => {