Merge "crash_sender: Properly handle curl errors"

am: ef3c85a027

* commit 'ef3c85a027fa0c68e247fdc7853325ff5da325d5':
  crash_sender: Properly handle curl errors
This commit is contained in:
Steve Fung 2015-10-27 22:02:50 +00:00 committed by android-build-merger
commit 19343ebddf

View file

@ -446,7 +446,7 @@ send_crash() {
local curl_stderr="${TMP_DIR}/curl_stderr"
set +e
curl "${url}" -v ${proxy:+--proxy "$proxy"} \
curl "${url}" -f -v ${proxy:+--proxy "$proxy"} \
--capath "${RESTRICTED_CERTIFICATES_PATH}" --ciphers HIGH \
-F "prod=${product}" \
-F "ver=${version}" \