From 85ad2dd39a04da546a10d2d22f3cea4a3c4bf2fc Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Thu, 30 Sep 2021 16:01:02 +0000 Subject: [PATCH] Maint: simplify warning logging in http proxy --- internal/httpproxy/http.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/httpproxy/http.go b/internal/httpproxy/http.go index dd72f946..28583ec1 100644 --- a/internal/httpproxy/http.go +++ b/internal/httpproxy/http.go @@ -32,8 +32,7 @@ func (h *handler) handleHTTP(responseWriter http.ResponseWriter, request *http.R response, err := h.client.Do(request) if err != nil { http.Error(responseWriter, "server error", http.StatusInternalServerError) - h.logger.Warn("cannot request " + request.URL.String() + - " for client " + request.RemoteAddr + ": " + err.Error()) + h.logger.Warn("cannot process request for client " + request.RemoteAddr + ": " + err.Error()) return } defer response.Body.Close()