From 6aaaa910af4308b176358467cd07fafca009d94b Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 16 Mar 2026 09:36:40 +0100 Subject: [PATCH] Update health_monitor.py --- AppImage/scripts/health_monitor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AppImage/scripts/health_monitor.py b/AppImage/scripts/health_monitor.py index 3f7e6937..f1998cf7 100644 --- a/AppImage/scripts/health_monitor.py +++ b/AppImage/scripts/health_monitor.py @@ -1344,6 +1344,12 @@ class HealthMonitor: 'is_disk_entry': True, } + # Add to issues array if WARNING or CRITICAL (ensures category status is correct) + if final_status in ('WARNING', 'CRITICAL'): + issue_msg = f'{check_key}: {detail}' + if issue_msg not in issues: + issues.append(issue_msg) + # Register disk in persistence if not already (for worst_health tracking) try: health_persistence.register_disk(device_name, serial if serial else None, model, 0)