summaryrefslogtreecommitdiffstats
path: root/logic/net/CacheDownload.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-10-06 03:47:41 +0200
committerPetr Mrázek <peterix@gmail.com>2013-10-06 03:47:41 +0200
commit651bed91a0d6aff551fd6880a7cdbca403064c4f (patch)
tree339f7330409e3aeba103709a7c54fd25b007b66f /logic/net/CacheDownload.cpp
parent77d5ea36ae096a212280d34b978f4cf0b030431f (diff)
downloadMultiMC-651bed91a0d6aff551fd6880a7cdbca403064c4f.tar
MultiMC-651bed91a0d6aff551fd6880a7cdbca403064c4f.tar.gz
MultiMC-651bed91a0d6aff551fd6880a7cdbca403064c4f.tar.lz
MultiMC-651bed91a0d6aff551fd6880a7cdbca403064c4f.tar.xz
MultiMC-651bed91a0d6aff551fd6880a7cdbca403064c4f.zip
Log failure reasons of cache downloads
Diffstat (limited to 'logic/net/CacheDownload.cpp')
-rw-r--r--logic/net/CacheDownload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/net/CacheDownload.cpp b/logic/net/CacheDownload.cpp
index 0e653e05..6a76a4ae 100644
--- a/logic/net/CacheDownload.cpp
+++ b/logic/net/CacheDownload.cpp
@@ -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()