Skip to content

Commit

Permalink
url instead of filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Feb 28, 2024
1 parent aa02d22 commit 1105a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/downloader/uri.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func DownloadFile(url string, filePath, sha string, downloadStatus func(string,
defer resp.Body.Close()

if resp.StatusCode >= 400 {
return fmt.Errorf("failed to download file %q, invalid status code %d", filePath, resp.StatusCode)
return fmt.Errorf("failed to download url %q, invalid status code %d", url, resp.StatusCode)
}

// Create parent directory
Expand Down

0 comments on commit 1105a13

Please sign in to comment.