Merge "crash_sender: Properly handle curl errors" am: ef3c85a027 am: 19343ebddf
am: d88f6a8ac2
* commit 'd88f6a8ac21c45916cec91f7841471b5e7128ffa':
crash_sender: Properly handle curl errors
diff --git a/crash_reporter/crash_sender b/crash_reporter/crash_sender
index 5b859a8..b24465d 100755
--- a/crash_reporter/crash_sender
+++ b/crash_reporter/crash_sender
@@ -446,7 +446,7 @@
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}" \