Skip to content

Commit

Permalink
Merge pull request #69 from Shubham4026/bakend_feature
Browse files Browse the repository at this point in the history
Logged Error for debugging
  • Loading branch information
Shubham4026 authored Dec 2, 2024
2 parents 0755ff0 + 62c445a commit 698e93c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware/gateway.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 698e93c

Please sign in to comment.