From 0b3e1d9062391647ca98a7d49a2e96ad0cfc911a Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 1 Jun 2021 03:34:50 -0500 Subject: [PATCH] warn logging on destination parser --- app/proxy/proxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/proxy/proxy.go b/app/proxy/proxy.go index 6f20662..85b487f 100644 --- a/app/proxy/proxy.go +++ b/app/proxy/proxy.go @@ -285,6 +285,7 @@ func (h *Http) matchHandler(next http.Handler) http.Handler { if ok { uu, err := url.Parse(match.Destination) if err != nil { + log.Printf("[WARN] can't parse destination %s, %v", match.Destination, err) h.Reporter.Report(w, http.StatusBadGateway) return }