mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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);
|
reader.readDatabase(&dbFile, key);
|
||||||
|
|
||||||
if (reader.hasError()) {
|
if (reader.hasError()) {
|
||||||
qCritical("Error while reading the database.");
|
qCritical("Error while reading the database:\n%s", qPrintable(reader.errorString()));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user