mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: Simplify error logging in metrics queue-size endpoint
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user