[network/ruqola] src/core/encryption: Add debug category
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit e2cbfca72c7c106f5bebd4125e33e18a19222ed3 by Laurent Montel.
Committed on 04/08/2026 at 05:45.
Pushed by mlaurent into branch 'master'.
Add debug category
M +1 -0 src/core/encryption/e2ekeymanager.cpp
https://invent.kde.org/network/ruqola/-/commit/e2cbfca72c7c106f5bebd4125e33e18a19222ed3
diff --git a/src/core/encryption/e2ekeymanager.cpp b/src/core/encryption/e2ekeymanager.cpp
index 3e781f5422..3272b50a16 100644
--- a/src/core/encryption/e2ekeymanager.cpp
+++ b/src/core/encryption/e2ekeymanager.cpp
@@ -54,6 +54,7 @@ bool E2eKeyManager::decodeEncryptionKey(const QString &password)
const QString userId = QString::fromLatin1(mAccount->settings()->userId());
if (userId.isEmpty()) {
setStatus(Status::NeedToDecryptKey);
+ qCWarning(RUQOLA_ENCRYPTION_LOG) << "Unable to decode E2E key: no userId found";
Q_EMIT failedDecodeEncryptionKey();
return false;
}