From e0b0da307a78b038045e2cb86934d60befd74339 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 17 Aug 2010 18:59:49 +0200 Subject: abrt_curl: better error msg if curl_formadd fails Signed-off-by: Denys Vlasenko --- lib/utils/abrt_curl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/utils/abrt_curl.cpp') diff --git a/lib/utils/abrt_curl.cpp b/lib/utils/abrt_curl.cpp index af3defca..b3041c1d 100644 --- a/lib/utils/abrt_curl.cpp +++ b/lib/utils/abrt_curl.cpp @@ -227,7 +227,7 @@ abrt_post(abrt_post_state_t *state, CURLFORM_END); if (curlform_err != 0) //FIXME: - error_msg_and_die("out of memory or read error"); + error_msg_and_die("out of memory or read error (curl_formadd error code: %d)", (int)curlform_err); xcurl_easy_setopt_ptr(handle, CURLOPT_HTTPPOST, post); } else { // .. from a blob in memory -- cgit