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