From 8c414782717cc86f70a54f2c8d590157aef882ff Mon Sep 17 00:00:00 2001 From: johannbm Date: Thu, 18 Apr 2024 13:22:27 +0200 Subject: [PATCH] log even if not json type --- apps/frackend/src/apiProxy.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/frackend/src/apiProxy.ts b/apps/frackend/src/apiProxy.ts index f863e05cb..295292027 100644 --- a/apps/frackend/src/apiProxy.ts +++ b/apps/frackend/src/apiProxy.ts @@ -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" ) {