Skip to content

Commit

Permalink
APIGOV-0321 update (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsjohns9 authored Sep 7, 2022
1 parent 26b8266 commit 910cb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/hcjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (c *centralHealthCheckJob) check() error {
status := c.healthChecker.Healthcheck("")
if status == nil || status.Result != hc.OK {
err := fmt.Errorf("central health check status is not OK")
c.logger.Info(err)
c.logger.WithError(err).Error(status.Details)
return err
}
return nil
Expand Down

0 comments on commit 910cb70

Please sign in to comment.