summary refs log tree commit diff
path: root/src/gateway/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/util')
-rw-r--r--src/gateway/util/Utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/util/Utils.ts b/src/gateway/util/Utils.ts

index ad5cd21f2..bbb054363 100644 --- a/src/gateway/util/Utils.ts +++ b/src/gateway/util/Utils.ts
@@ -113,7 +113,7 @@ export async function handleOffloadedGatewayRequest(socket: WebSocket, url: stri if (!resp.ok) { const text = await resp.text(); console.error(`[Gateway] Offloaded request to ${url} failed with status ${resp.status}: ${text}`); - if (resp.status === 415) console.log(typeof body, body); + if (resp.status === 415 || resp.status === 400) console.log(typeof body, body); throw new Error(`Offloaded request failed with status ${resp.status}: ${text}`); }