mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 23:39:45 -05:00
kdbx-extract: Print error message when opening the database failed.
This commit is contained in:
parent
67bf8e7b2a
commit
ecc11d3207
@ -66,7 +66,7 @@ int main(int argc, char **argv)
|
||||
reader.readDatabase(&dbFile, key);
|
||||
|
||||
if (reader.hasError()) {
|
||||
qCritical("Error while reading the database.");
|
||||
qCritical("Error while reading the database:\n%s", qPrintable(reader.errorString()));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user