Commit 33d9a05b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Improve debug message

parent 662b8677
......@@ -228,14 +228,14 @@ void RetrieveCollectionMetadataTask::onRightsReceived(KJob *job)
void RetrieveCollectionMetadataTask::onQuotasReceived(KJob *job)
{
m_pendingMetaDataJobs--;
const QString &mailBox = mailBoxForCollection(m_collection);
if (job->error()) {
qCWarning(IMAPRESOURCE_LOG) << "Quota retrieval failed: " << job->errorString();
qCWarning(IMAPRESOURCE_LOG) << "Quota retrieval for mailbox " << mailBox << " failed: " << job->errorString();
endTaskIfNeeded();
return; // Well, no metadata for us then...
}
KIMAP::GetQuotaRootJob *quotaJob = qobject_cast<KIMAP::GetQuotaRootJob *>(job);
const QString &mailBox = mailBoxForCollection(m_collection);
QList<QByteArray> newRoots = quotaJob->roots();
QList< QMap<QByteArray, qint64> > newLimits;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment