Log url of downloader
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user