From 6153e8b450c85305236e5756d69d5f1157e168ce Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Tue, 30 Dec 2025 18:09:49 +0000 Subject: [PATCH] fix: Simplify error logging in metrics queue-size endpoint --- AIAgent/API/Metrics.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AIAgent/API/Metrics.ts b/AIAgent/API/Metrics.ts index 754eb6947c..2e9682cb6a 100644 --- a/AIAgent/API/Metrics.ts +++ b/AIAgent/API/Metrics.ts @@ -53,9 +53,7 @@ router.get( }); if (result instanceof HTTPErrorResponse) { - logger.error( - "Error fetching pending task count from OneUptime API", - ); + logger.error("Error fetching pending task count from OneUptime API"); logger.error(result); throw result; }