Removed debug logging for error handling

This commit is contained in:
WardPearce
2025-06-04 00:26:46 +12:00
parent 459ee41461
commit 6fef0054e7
+1 -3
View File
@@ -103,9 +103,7 @@ function proxyRequest(clientReq, clientRes, parsedUrl, bodyChunks = [], redirect
if (!clientRes.headersSent) {
clientRes.writeHead(500, { 'Content-Type': 'text/plain' });
}
clientRes.end(
`Proxy error: ${err.message} ${rejectUnauthorized} rejectUnauthorized ${typeof rejectUnauthorized}`
);
clientRes.end(`Proxy error: ${err.message}`);
});
clientReq.on('aborted', () => proxyReq.destroy());