Skip to content

Commit

Permalink
Include exception in warn log (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnksv authored Sep 2, 2024
1 parent a1d5461 commit 9c85944
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ private static List<HealthCheckResult> checkHealth(
LOGGER.warn(
"Could not retrieve health status from resource kind {} name {} ",
resource.getKind(),
resource.getMetadata().getName());
resource.getMetadata().getName(),
e);
}
result.setDetails(details);
result.setHealthy(details.getReady() >= details.getDesired());
Expand Down

0 comments on commit 9c85944

Please sign in to comment.