From 6c93930d3ec864a409a91e1f1165021d4b6a88a8 Mon Sep 17 00:00:00 2001 From: iotux <46082385+iotux@users.noreply.github.com> Date: Thu, 1 Jan 2026 08:35:59 +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 461a5edaf..c88f765bd 100644 --- a/server/monitor-types/system-service.js +++ b/server/monitor-types/system-service.js @@ -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; }