From 30701dbd82ffdd2eaab8afc1e97e0afb38ae1581 Mon Sep 17 00:00:00 2001 From: Roel van Hintum Date: Tue, 26 Sep 2023 13:16:59 +0200 Subject: [PATCH] Add status to debug --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 599c4d5..ff0e057 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ export function proxyHandle(proxy, options = {}) { delete responseHeaders['content-encoding']; if (options && options.debug) { - console.debug(`Proxy response headers:`, responseHeaders); + console.debug(`Proxy response (${resp.status}) headers:`, responseHeaders); } /**