From 197dffc50bed5bce87c142891eee616549670c84 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 1 Mar 2024 13:42:38 +0100 Subject: just-mr: Report fetch URLs on debug level --- src/other_tools/utils/curl_url_handle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/other_tools/utils/curl_url_handle.cpp') diff --git a/src/other_tools/utils/curl_url_handle.cpp b/src/other_tools/utils/curl_url_handle.cpp index 5722a1cb..bd79b228 100644 --- a/src/other_tools/utils/curl_url_handle.cpp +++ b/src/other_tools/utils/curl_url_handle.cpp @@ -167,7 +167,8 @@ auto CurlURLHandle::Create(std::string const& url) noexcept auto rc = curl_url_set(handle, CURLUPART_URL, url.c_str(), 0U); if (rc != CURLUE_OK) { Logger::Log(LogLevel::Debug, - "CurlURLHandle: parsing URL failed with:\n{}", + "CurlURLHandle: parsing URL {} failed with:\n{}", + url, curl_url_strerror(rc)); curl_url_cleanup(handle); return nullptr; -- cgit v1.2.3