Update server/monitor-types/system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
2dbd8aecf2
commit
6c93930d3e
@ -56,8 +56,7 @@ class SystemServiceMonitorType extends MonitorType {
|
||||
}
|
||||
|
||||
if (error) {
|
||||
heartbeat.msg = output || `Service '${serviceName}' is not running.`;
|
||||
reject(new Error(heartbeat.msg));
|
||||
reject(new Error(output || `Service '${serviceName}' is not running.`));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user