From 62c445aa53b7bae7cd6d8711ca0989ba168f7102 Mon Sep 17 00:00:00 2001 From: Shubham Date: Mon, 2 Dec 2024 19:14:59 +0530 Subject: [PATCH] Logged Error for debugging --- src/middleware/gateway.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middleware/gateway.service.ts b/src/middleware/gateway.service.ts index 0403e0f..3adedc0 100644 --- a/src/middleware/gateway.service.ts +++ b/src/middleware/gateway.service.ts @@ -89,6 +89,7 @@ export class GatewayService { res.status(response.status); return response.data; } catch (error) { + console.log(error); if (error.response) { res.locals.responseBody = error.data; res.status(error.response.status);