From 76ae292ae74eec403ba373c1e287dac780cf74a4 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Wed, 13 Oct 2021 20:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E5=91=86=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HttpClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/HttpClient.cpp b/src/Http/HttpClient.cpp index d2101abc..16c5c790 100644 --- a/src/Http/HttpClient.cpp +++ b/src/Http/HttpClient.cpp @@ -27,7 +27,7 @@ void HttpClient::sendRequest(const string &strUrl, float fTimeOutSec) { defaultPort = 443; isHttps = true; } else { - auto strErr = StrPrinter << "非法的协议:" << protocol << endl; + auto strErr = StrPrinter << "非法的http url:" << strUrl << endl; throw std::invalid_argument(strErr); }