From d7ea724622bb2fc91d977eea5ad063acf26ae104 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Wed, 4 Jul 2018 19:43:57 +0300 Subject: Fix error message. --- src/net/HttpClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') 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& 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); } -- cgit v1.2.3