Skip to content

Commit

Permalink
log even if not json type
Browse files Browse the repository at this point in the history
  • Loading branch information
johannbm committed Apr 18, 2024
1 parent c8ad36b commit 8c41478
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/frackend/src/apiProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ export function addProxyHandler(
"[400 RESPONSE] contentType",
proxyResponse.headers["content-type"],
);
console.log(
"[400 RESPONSE] toString",
responseBuffer.toString("utf8"),
);
if (
proxyResponse.headers["content-type"] === "application/json"
) {
Expand Down

0 comments on commit 8c41478

Please sign in to comment.