From 12122957f20a8d51e48bf58fc262cbebe389bc68 Mon Sep 17 00:00:00 2001 From: Rohan Raj Date: Mon, 30 May 2022 13:55:06 +0530 Subject: [PATCH] fix: remove unwanted testing error msg --- httpclient.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/httpclient.go b/httpclient.go index 33b3d60..b651090 100644 --- a/httpclient.go +++ b/httpclient.go @@ -4,7 +4,6 @@ import ( "bytes" "context" "crypto/tls" - "errors" "io" "io/ioutil" "net/http" @@ -97,7 +96,7 @@ func (h *HttpClient) Request(ctx context.Context, method, url string, headers ma go h.successLogging(ctx, method, url, res.Status, res.StatusCode, reqByte, resByte, start) - return res, errors.New("error in testing") + return res, nil } // TODO: SOAP REQUEST