From f9331deec18d25b12cc67736cb2dbe87743cc9b6 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 2 Jul 2023 01:46:11 +0200 Subject: [PATCH] consul debug --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/discovery.go b/consul/discovery.go index b13fe3c..164c503 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -138,6 +138,7 @@ func (s *Service) healthCheck() (bool, error) { fmt.Printf("Sending HEALTH CHECK request to: %s\n", healthUrl) resp, err := client.Do(req) if err != nil { + fmt.Printf("Sending HEALTH CHECK request error: %v\n", err) return false } defer resp.Body.Close()