diff --git a/CHANGELOG.md b/CHANGELOG.md index d806bd20..d4b03afd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ * Verify git tag on release (#347, @miry) * Fix MacOS 12 tests for go17 with -race flag (#351, @strech) * Rename `testing/` and `bin/` folders (#354, @strech) +* Added verbose error on proxy upstream dialing (#355, @f-dg) # [2.3.0] - 2021-12-23 diff --git a/proxy.go b/proxy.go index c442e88d..e9104469 100644 --- a/proxy.go +++ b/proxy.go @@ -184,7 +184,7 @@ func (proxy *Proxy) server() { "client": client.RemoteAddr(), "proxy": proxy.Listen, "upstream": proxy.Upstream, - }).Error("Unable to open connection to upstream") + }).Error("Unable to open connection to upstream: " + err.Error()) client.Close() continue }