Add more logging.

This commit is contained in:
Martin Rotter 2016-11-08 20:04:05 +01:00
parent 121a67bc1b
commit d0a40ab3a4
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ int DatabaseQueries::updateMessages(QSqlDatabase db,
if (!db.commit()) {
db.rollback();
qDebug("Transaction commit for message downloader failed.");
qDebug("Transaction commit for message downloader failed: '%s'.", qPrintable(db.lastError().text()));
if (ok != nullptr) {
*ok = false;