From 420515f5b6c00cdd7ed09ce866d42f45ea083876 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 16 Jul 2024 18:19:49 +0200 Subject: [PATCH] make error message more human readable --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 3b2f7c4..05d44e7 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -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) } } }()