aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'jobs')
-rw-r--r--jobs/basejob.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/jobs/basejob.cpp b/jobs/basejob.cpp
index 720ac560..2d0d8b1b 100644
--- a/jobs/basejob.cpp
+++ b/jobs/basejob.cpp
@@ -291,9 +291,10 @@ bool checkContentType(const QByteArray& type, const QByteArrayList& patterns)
BaseJob::Status BaseJob::checkReply(QNetworkReply* reply) const
{
- qCDebug(d->logCat) << this << "returned from" << reply->url().toDisplayString();
- if (reply->error() != QNetworkReply::NoError)
- qCDebug(d->logCat) << this << "returned" << reply->error();
+ qCDebug(d->logCat) << this << "returned"
+ << (reply->error() == QNetworkReply::NoError ?
+ "Success" : reply->errorString())
+ << "from" << reply->url().toDisplayString();
switch( reply->error() )
{
case QNetworkReply::NoError: