mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Update: update error messages for http proxy
This commit is contained in:
parent
1b1dc5cdfe
commit
d5e63cd0bf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue