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

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

@ -105,8 +105,7 @@ class SystemServiceMonitorType extends MonitorType {
heartbeat.msg = `Service '${serviceName}' is running.`;
resolve();
} else {
heartbeat.msg = `Service '${serviceName}' is ${output}.`;
reject(new Error(heartbeat.msg));
reject(new Error(`Service '${serviceName}' is ${output}.`));
}
});
});

Loading…
Cancel
Save