make error message more human readable
This commit is contained in:
parent
5dcd27e8b8
commit
420515f5b6
@ -113,7 +113,7 @@ func (s *Service) RegisterHealthChecks() {
|
|||||||
ticker := time.NewTicker(interval)
|
ticker := time.NewTicker(interval)
|
||||||
for range ticker.C {
|
for range ticker.C {
|
||||||
if _, err := s.healthCheck(); err != nil {
|
if _, err := s.healthCheck(); err != nil {
|
||||||
fmt.Printf("TTL Error #: %v\n", err)
|
fmt.Printf("HealthCheck endpoint not available #: %v\n", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user