Re-create service ping, docker status changes

See #388
This commit is contained in:
Michael Shamoon 2022-11-07 11:35:13 -08:00
parent 2ab05350a3
commit 1c456b70c0
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: "Unexpected error" }, null];
}