From e9bcff88d64df03c990fb27ab0e0f09eab615c77 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Mon, 8 Aug 2022 19:49:26 +0300 Subject: [PATCH] add logs --- api/functions/login/login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/functions/login/login.js b/api/functions/login/login.js index 7dcdbf2..6f0d695 100644 --- a/api/functions/login/login.js +++ b/api/functions/login/login.js @@ -106,6 +106,7 @@ const loginHandler = async (req, res) => { return res.status(200).json({ status: "OK" }) } catch (error) { + console.log(error); return res.status(400).json({ status: 'ERROR', reason: 'Unexpected error happened, please try again' }) } }