mirror of https://github.com/schollz/croc.git
Update: update error messages for http proxy
This commit is contained in:
parent
1b1dc5cdfe
commit
d5e63cd0bf
|
@ -61,7 +61,7 @@ func NewConnection(address string, timelimit ...time.Duration) (c *Comm, err err
|
|||
}
|
||||
HttpProxyURL, urlParseError := url.Parse(HttpProxy)
|
||||
if urlParseError != nil {
|
||||
err = fmt.Errorf("unable to parse socks proxy url: %s", urlParseError)
|
||||
err = fmt.Errorf("unable to parse http proxy url: %s", urlParseError)
|
||||
log.Debug(err)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue