summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2018-07-04 19:43:57 +0300
committerEgor Pugin <egor.pugin@gmail.com>2018-07-04 19:43:57 +0300
commitd7ea724622bb2fc91d977eea5ad063acf26ae104 (patch)
tree0be7d4f3a06e0c4af27e6ad09dccd505c40b05be /src/net
parent6f8519027d135d440ba13aff0842d0cd0131d7d5 (diff)
Fix error message.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/HttpClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/HttpClient.cpp b/src/net/HttpClient.cpp
index b61285c..90dc4b2 100644
--- a/src/net/HttpClient.cpp
+++ b/src/net/HttpClient.cpp
@@ -140,7 +140,7 @@ string CurlHttpClient::makeRequest(const Url& url, const vector<HttpReqArg>& arg
if (res != CURLE_OK)
throw std::runtime_error(std::string("curl error: ") + curl_easy_strerror(res));
if (http_code != 200)
- throw std::runtime_error("curl request returned with code = " + std::to_string(http_code));
+ throw std::runtime_error("http request returned with code = " + std::to_string(http_code));
return HttpParser::getInstance().parseResponse(response);
}