From 3e64db4c41b9dcfb567f4b703c958b09a4033bb9 Mon Sep 17 00:00:00 2001 From: Manases Leal Date: Thu, 17 Nov 2022 15:39:22 -0600 Subject: [PATCH] Changed Errorf to Printf --- client/topic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/topic.go b/client/topic.go index 87e2754..8d70a0b 100644 --- a/client/topic.go +++ b/client/topic.go @@ -155,7 +155,7 @@ func createTopic(c Client, t *NewTopic) (*Topic, error) { res, err := c.doRequest(req) for retry := 1; retry <= retryCap; retry++{ if err != nil { - fmt.Errorf("%s\n",err) + fmt.Printf("%s\n\n",err) fmt.Println("Waiting to retry...") time.Sleep(time.Duration(math.Pow(float64(retry), 2)) * time.Second) fmt.Printf("Starting retry attempt %d of %d\n", retry, retryCap)