8000 print http code on download failure (#565) · dotnet/install-scripts@b453cf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit b453cf2

Browse files
authored
print http code on download failure (#565)
1 parent 33dc34f commit b453cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotnet-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ install_dotnet() {
16481648
say "The resource at $link_type link '$download_link' is not available."
16491649
;;
16501650
*)
1651-
say "Failed to download $link_type link '$download_link': $download_error_msg"
1651+
say "Failed to download $link_type link '$download_link': $http_code $download_error_msg"
16521652
;;
16531653
esac
16541654
rm -f "$zip_path" 2>&1 && say_verbose "Temporary archive file $zip_path was removed"

0 commit comments

Comments
 (0)
0