mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 08:01:03 +00:00
Update server/monitor-types/system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
@@ -95,8 +95,7 @@ class SystemServiceMonitorType extends MonitorType {
|
||||
}
|
||||
|
||||
if (error || stderr) {
|
||||
heartbeat.msg = output || `Service '${serviceName}' is not running/found.`;
|
||||
reject(new Error(heartbeat.msg));
|
||||
reject(new Error(`Service '${serviceName}' is not running/found.`));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user