Update server/monitor-types/system-service.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/6488/head
iotux 2 months ago committed by GitHub
parent 134877317c
commit c09882b00a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save