Update server/monitor-types/system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
134877317c
commit
c09882b00a
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user