make error message more human readable

This commit is contained in:
Piotr Biernat 2024-07-16 18:19:49 +02:00
parent 5dcd27e8b8
commit 420515f5b6

View File

@ -113,7 +113,7 @@ func (s *Service) RegisterHealthChecks() {
ticker := time.NewTicker(interval)
for range ticker.C {
if _, err := s.healthCheck(); err != nil {
fmt.Printf("TTL Error #: %v\n", err)
fmt.Printf("HealthCheck endpoint not available #: %v\n", err)
}
}
}()