Log reason reverse proxy cant be started
This commit is contained in:
parent
2d359067f6
commit
056b121983
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ func StartHandler(targetHost, outboundIP string, port uint16, cacheProxyHostOver
|
|||
|
||||
proxy, err := h.newReverseProxy(targetHost)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to set up proxy to target host")
|
||||
return nil, fmt.Errorf("unable to set up proxy to target host: %v", err)
|
||||
}
|
||||
|
||||
router := httprouter.New()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue