Skip to content

Commit

Permalink
Merge branch 'main' into revert_get_value
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap authored Nov 4, 2024
2 parents 0e129f9 + 83cb4dd commit 3d0a05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func downloadFile(src, dest string, dirPerm, perm os.FileMode) error {
defer resp.Body.Close()

if resp.StatusCode >= 300 {
return fmt.Errorf("download response %[1]v", resp.StatusCode)
return fmt.Errorf("download file from %[2]s into %[3]s: response %[1]v", resp.StatusCode, src, dest)
}

if err := os.MkdirAll(filepath.Dir(dest), dirPerm); err != nil {
Expand Down

0 comments on commit 3d0a05b

Please sign in to comment.