Merge pull request #505 from benphelps/ping-and-redesign-status

Feature: Service ping, redesign docker status
This commit is contained in:
Jason Fischer
2022-11-20 10:03:43 -08:00
committed by GitHub
6 changed files with 123 additions and 18 deletions

View File

@@ -96,7 +96,7 @@ export async function httpProxy(url, params = {}) {
return [status, contentType, data, responseHeaders];
}
catch (err) {
logger.error("Error calling %s//%s%s...", url.protocol, url.hostname, url.pathname);
logger.error("Error calling %s//%s%s...", constructedUrl.protocol, constructedUrl.hostname, constructedUrl.pathname);
logger.error(err);
return [500, "application/json", { error: {message: err?.message ?? "Unknown error", url, rawError: err} }, null];
}