Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/coordinator: make gomote proxy 502 error include detail
Go 1.11 added ReverseProxy.ErrorHandler; use it to make the httputil.ReverseProxy failures print the underlying error back to the (trusted) client. (Normally the client isn't necessarily trusted enough to get the full info) Also, log more to stderr where we can search for it. Updates golang/go#28365 Change-Id: Iac2d863b159f24fda2e0e6e1f7374ed05434d3e4 Reviewed-on: https://go-review.googlesource.com/c/build/+/200738 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
- Loading branch information