From 68e28efa420016457138a66a29f2c27d6e450d2c Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Fri, 25 Oct 2024 17:08:10 -0300 Subject: [PATCH] fix: adding forgotten error to log error --- http_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_proxy.go b/http_proxy.go index d484642e..810d80ae 100644 --- a/http_proxy.go +++ b/http_proxy.go @@ -1020,7 +1020,7 @@ func (p *Proxy) listenWATER(addr string) (net.Listener, error) { mismatchProtocol, err := strconv.Atoi(p.WaterMismatchProtocol) if err != nil { - return nil, log.Errorf("failed to parse mismatch protocol") + return nil, log.Errorf("failed to parse mismatch protocol: %w", err) } switch mismatchProtocol {