Skip to content

Commit

Permalink
Improve upload archive progress bar
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Nov 28, 2024
1 parent e62f59c commit e4e2168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (jc *HttpClient) Send(method, url string, content []byte, followRedirect, c
if err != nil {
if strings.Contains(err.Error(), "unsupported protocol scheme") {
// Wrong URL, so no need to retry
return false, fmt.Errorf("invalid URL %q. Please ensure the URL includes a valid scheme like http:// or https://: %w", url, err)
return false, fmt.Errorf("%w\nThe recieved error indicats an invalid URL: %q, Please ensure the URL includes a valid scheme like 'http://' or 'https://'.", err, url)
}
return true, err
}
Expand Down

0 comments on commit e4e2168

Please sign in to comment.