mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 09:13:21 +00:00
Update server/model/monitor.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -772,7 +772,7 @@ class Monitor extends BeanModel {
|
||||
bean.status = UP;
|
||||
bean.msg = "healthy";
|
||||
} else if (res.data.State.Health.Status === "unhealthy") {
|
||||
throw Error("Container State is unhealthy due according to its healthcheck");
|
||||
throw Error("Container State is unhealthy according to its healthcheck");
|
||||
} else {
|
||||
bean.status = PENDING;
|
||||
bean.msg = res.data.State.Health.Status;
|
||||
|
||||
Reference in New Issue
Block a user