From 9970de61047c5f7c49573911614b869ea53d4a3d Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Wed, 2 Aug 2017 12:30:54 -0700 Subject: [PATCH] Fix error logging --- httpu/httpu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpu/httpu.go b/httpu/httpu.go index f52dad6..919589c 100644 --- a/httpu/httpu.go +++ b/httpu/httpu.go @@ -122,7 +122,7 @@ func (httpu *HTTPUClient) Do(req *http.Request, timeout time.Duration, numSends // Parse response. response, err := http.ReadResponse(bufio.NewReader(bytes.NewBuffer(responseBytes[:n])), req) if err != nil { - log.Print("httpu: error while parsing response: %v", err) + log.Printf("httpu: error while parsing response: %v", err) continue }