Update: update error messages for http proxy

This commit is contained in:
N0mansky 2023-04-12 18:17:25 +08:00
parent 1b1dc5cdfe
commit d5e63cd0bf
1 changed files with 1 additions and 1 deletions

View File

@ -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
}