Skip to content

Commit

Permalink
WIP: Add CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nmanoogian committed Jun 7, 2024
1 parent 9470fb8 commit c16649b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ curl_download() {

if [ "$status_code" -ne 200 ]; then
log_debug "Request failed with http status $status_code"
log_debug "NIC: $url"
log_debug "NIC: $headers"
log_debug "$(curl --tlsv1.2 --proto "=https" -retry 5 -o "$output_file" -LN -D - "$url" 2>&1)"
log_debug "Response headers:"
log_debug "$headers"
fi
Expand Down Expand Up @@ -217,6 +220,7 @@ wget_download() {
if [ "$valid_status_code" -eq 1 ]; then
# print the code and continue
log_debug "Request failed with http status $status_code"
log_debug "NIC: $headers"
log_debug "Response headers:"
log_debug "$headers"
else
Expand Down

0 comments on commit c16649b

Please sign in to comment.