Commit 3b0d1f39 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't show warning as by default sometime we don't have this entry

parent 7a373e26
Pipeline #42720 passed with stage
in 33 minutes and 41 seconds
......@@ -48,7 +48,9 @@ void KMSieveImapPasswordProvider::readSieveServerCustomPasswordFinished(QKeychai
auto *job = qobject_cast<ReadPasswordJob *>(baseJob);
Q_ASSERT(job);
if (job->error()) {
qCWarning(KMAIL_LOG) << "An error occurred while reading password: " << job->errorString();
if (job->error() != QKeychain::EntryNotFound) {
qCWarning(KMAIL_LOG) << "An error occurred while reading password: " << job->errorString();
}
} else {
mSieveCustomPassword = job->textData();
}
......
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