add curl error message
Merge pull request #51 from LinguaLeo/justgoodman/feature/add_log_curl_error

Add curl error message