fix: Simplify error logging in metrics queue-size endpoint

This commit is contained in:
Nawaz Dhandala
2025-12-30 18:09:49 +00:00
parent dd6ccbead8
commit 6153e8b450

View File

@@ -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;
}