mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
Merge pull request #505 from benphelps/ping-and-redesign-status
Feature: Service ping, redesign docker status
This commit is contained in:
commit
354f819041
6 changed files with 123 additions and 18 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue