diff --git a/service/http_client.go b/service/http_client.go index d8fcfae01..c1d6880c9 100644 --- a/service/http_client.go +++ b/service/http_client.go @@ -110,6 +110,6 @@ func NewProxyHttpClient(proxyURL string) (*http.Client, error) { return client, nil default: - return nil, fmt.Errorf("unsupported proxy scheme: %s", parsedURL.Scheme) + return nil, fmt.Errorf("unsupported proxy scheme: %s, must be http, https, socks5 or socks5h", parsedURL.Scheme) } }