summaryrefslogtreecommitdiffstats
path: root/lib/Utils/abrt_curl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils/abrt_curl.cpp')
-rw-r--r--lib/Utils/abrt_curl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Utils/abrt_curl.cpp b/lib/Utils/abrt_curl.cpp
index 6dc8582f..edc27124 100644
--- a/lib/Utils/abrt_curl.cpp
+++ b/lib/Utils/abrt_curl.cpp
@@ -135,8 +135,12 @@ curl_post(curl_post_state_t* state, const char* url, const char* data)
curl_err = curl_easy_perform(handle);
if (curl_err)
{
+ VERB2 log("curl_easy_perform: error %d", (int)curl_err);
if (state->flags & ABRT_CURL_POST_WANT_ERROR_MSG)
+ {
state->curl_error_msg = check_curl_error(curl_err, "curl_easy_perform");
+ VERB3 log("curl_easy_perform: error_msg: %s", state->curl_error_msg);
+ }
goto ret;
}