From ecc11d3207fe5bacf3971de8976912b87a6a4a59 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 22 Apr 2012 22:33:41 +0200 Subject: [PATCH] kdbx-extract: Print error message when opening the database failed. --- utils/kdbx-extract.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/kdbx-extract.cpp b/utils/kdbx-extract.cpp index 762ec83d8..3c61d4367 100644 --- a/utils/kdbx-extract.cpp +++ b/utils/kdbx-extract.cpp @@ -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; }