Commit 212a43c9 authored by Andrea Scarpino's avatar Andrea Scarpino

Log when password generation fails

parent 69386e72
...@@ -80,6 +80,7 @@ QString MPWManager::getPassword(const QString &site, PasswordType type, const ui ...@@ -80,6 +80,7 @@ QString MPWManager::getPassword(const QString &site, PasswordType type, const ui
if (p) { if (p) {
return QString::fromUtf8(p); return QString::fromUtf8(p);
} else { } else {
qCritical() << "Error during password generation";
return QString(); return QString();
} }
} }
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