Log failure reasons of cache downloads
This commit is contained in:
parent
77d5ea36ae
commit
651bed91a0
@ -56,7 +56,7 @@ void CacheDownload::downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
|
|||||||
void CacheDownload::downloadError(QNetworkReply::NetworkError error)
|
void CacheDownload::downloadError(QNetworkReply::NetworkError error)
|
||||||
{
|
{
|
||||||
// error happened during download.
|
// error happened during download.
|
||||||
// TODO: log the reason why
|
QLOG_ERROR() << "Failed" << m_url.toString() << "with reason" << error;
|
||||||
m_status = Job_Failed;
|
m_status = Job_Failed;
|
||||||
}
|
}
|
||||||
void CacheDownload::downloadFinished()
|
void CacheDownload::downloadFinished()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user