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

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
iotux
2026-01-01 08:19:55 +01:00
committed by GitHub
parent 134877317c
commit c09882b00a
+1 -2
View File
@@ -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;
}