From bf0905d2f9d373b4b05e270f8145344d7571a36b Mon Sep 17 00:00:00 2001 From: Dmitry Mikushin Date: Thu, 8 Sep 2022 21:18:27 +0200 Subject: If the request did not complete correctly, show the error information. If no detailed error information was written to errbuf, show the more generic information from curl_easy_strerror instead --- src/net/CurlHttpClient.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/net/CurlHttpClient.cpp b/src/net/CurlHttpClient.cpp index ff06138..2a397f9 100644 --- a/src/net/CurlHttpClient.cpp +++ b/src/net/CurlHttpClient.cpp @@ -57,13 +57,27 @@ std::string CurlHttpClient::makeRequest(const Url& url, const std::vector