Log url of downloader

This commit is contained in:
Megamouse
2026-04-18 17:40:07 +02:00
parent 7a4d7aa936
commit 36cd81fb5f
+2 -2
View File
@@ -103,7 +103,7 @@ void downloader::start(const std::string& url, bool follow_location, bool show_p
{ {
if (m_curl_abort) if (m_curl_abort)
{ {
network_log.notice("Download aborted"); network_log.notice("Download aborted (url='%s')", url);
return; return;
} }
@@ -114,7 +114,7 @@ void downloader::start(const std::string& url, bool follow_location, bool show_p
if (m_curl_success) if (m_curl_success)
{ {
network_log.notice("Download finished"); network_log.notice("Download finished (url='%s')", url);
if (check_return_code && m_download_attempts < 3) if (check_return_code && m_download_attempts < 3)
{ {