Skip to content

Commit

Permalink
Add verbose error on proxy upstream dialing (#355)
Browse files Browse the repository at this point in the history
Add verbose error on proxy upstream dialing.
  • Loading branch information
f-dg committed Jan 12, 2022
1 parent 06aafdc commit 6b0cfad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6b0cfad

Please sign in to comment.