From c09882b00a2804f25058f3de810728fddf163aec Mon Sep 17 00:00:00 2001 From: iotux <46082385+iotux@users.noreply.github.com> Date: Thu, 1 Jan 2026 08:19:55 +0100 Subject: [PATCH] Update server/monitor-types/system-service.js Co-authored-by: Frank Elsinga --- server/monitor-types/system-service.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/monitor-types/system-service.js b/server/monitor-types/system-service.js index 980fc6097..227fa9438 100644 --- a/server/monitor-types/system-service.js +++ b/server/monitor-types/system-service.js @@ -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; }