From 4abd841ef52028ca328beef7a3b9dee8e650f9d4 Mon Sep 17 00:00:00 2001 From: Flaminel Date: Wed, 3 Jun 2026 21:44:52 +0300 Subject: [PATCH] improved status controller response --- code/backend/Cleanuparr.Api/Controllers/StatusController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/backend/Cleanuparr.Api/Controllers/StatusController.cs b/code/backend/Cleanuparr.Api/Controllers/StatusController.cs index 3de8296c..cbc1ffba 100644 --- a/code/backend/Cleanuparr.Api/Controllers/StatusController.cs +++ b/code/backend/Cleanuparr.Api/Controllers/StatusController.cs @@ -145,12 +145,13 @@ public class StatusController : ControllerBase } catch (Exception ex) { + _logger.LogWarning(ex, "health check failed for {type} instance | {url}", type, instance.Url); results.Add(new { instance.Name, instance.Url, IsConnected = false, - Message = $"Connection failed: {ex.Message}" + Message = "Connection failed" }); } }