Fix error port display, again

This commit is contained in:
shamoon 2023-05-23 03:37:56 -07:00
parent b960813ed9
commit 1b984abd91
2 changed files with 4 additions and 4 deletions

View file

@ -82,10 +82,10 @@ export async function httpProxy(url, params = {}) {
}
catch (err) {
logger.error(
"Error calling %s//%s:%s%s...",
"Error calling %s//%s%s%s...",
constructedUrl.protocol,
constructedUrl.hostname,
constructedUrl.port,
constructedUrl.port ? `:${constructedUrl.port}` : '',
constructedUrl.pathname
);
logger.error(err);