Log reason reverse proxy cant be started

This commit is contained in:
Andrew Cassidy 2025-10-13 19:06:56 -07:00
parent 2d359067f6
commit 056b121983
No known key found for this signature in database

View file

@ -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()