From 4f3396cf32a4012fcfd10dd5f864032f2c6a3919 Mon Sep 17 00:00:00 2001 From: David O'Trakoun Date: Wed, 17 May 2023 20:03:08 -0400 Subject: [PATCH] error hostname:port/path was missing colon --- src/utils/proxy/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/proxy/http.js b/src/utils/proxy/http.js index 8eebd451c..9b21fe7de 100644 --- a/src/utils/proxy/http.js +++ b/src/utils/proxy/http.js @@ -81,7 +81,7 @@ export async function httpProxy(url, params = {}) { return [status, contentType, data, responseHeaders]; } catch (err) { - logger.error("Error calling %s//%s%s%s...", constructedUrl.protocol, constructedUrl.hostname, constructedUrl.port, constructedUrl.pathname); + logger.error("Error calling %s//%s:%s%s...", constructedUrl.protocol, constructedUrl.hostname, constructedUrl.port, constructedUrl.pathname); logger.error(err); return [500, "application/json", { error: {message: err?.message ?? "Unknown error", url, rawError: err} }, null]; }