Mercurial > hg > orthanc
diff Core/HttpClient.cpp @ 3122:df4f977c2f88
trying to reproduce isse 32 in C++
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Jan 2019 13:06:03 +0100 |
parents | 0e75026a2c02 |
children | 7569d3dc1c20 |
line wrap: on
line diff
--- a/Core/HttpClient.cpp Mon Jan 14 13:11:43 2019 +0100 +++ b/Core/HttpClient.cpp Tue Jan 15 13:06:03 2019 +0100 @@ -62,8 +62,8 @@ } else { - LOG(INFO) << "Error code " << static_cast<int>(code) - << " in libcurl: " << curl_easy_strerror(code); + LOG(ERROR) << "Error code " << static_cast<int>(code) + << " in libcurl: " << curl_easy_strerror(code); *status = 0; return code; } @@ -697,8 +697,8 @@ else { answerBody.clear(); - LOG(INFO) << "Error in HTTP request, received HTTP status " << status - << " (" << EnumerationToString(lastStatus_) << ")"; + LOG(ERROR) << "Error in HTTP request, received HTTP status " << status + << " (" << EnumerationToString(lastStatus_) << ")"; } return success;