Log curl_exec error
Merge pull request #98 from mindon/master

Log curl_exec error for failure tracing