message: Improve error handling during third_party_downloads.
diff: @@ -109,7 +109,8 @@ download_and_extract() {
  # loop to attempt to recover from them.
  for (( i=1; i<=$curl_retries; ++i ))
  do
  - CURL_RESULT=$(curl -Ls --retry 5 "${url}" > ${tempfile} || true)
  + curl -Ls --fail --retry 5 "${url}" > ${tempfile}
  + CURL_RESULT=$?
  if [[ $CURL_RESULT -eq 0 ]]
  then
  break
  