[Pkg-owncloud-commits] [owncloud-client] 20/332: More descriptive error message when querying the database without hit.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:06:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 1af3d3f18bf6c56880c673b8b70c1719ca42c429
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Jun 2 12:08:28 2014 +0200

    More descriptive error message when querying the database without hit.
---
 src/mirall/syncjournaldb.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/syncjournaldb.cpp b/src/mirall/syncjournaldb.cpp
index 90d0753..1690274 100644
--- a/src/mirall/syncjournaldb.cpp
+++ b/src/mirall/syncjournaldb.cpp
@@ -485,7 +485,7 @@ SyncJournalFileRecord SyncJournalDb::getFileRecord( const QString& filename )
             _getFileRecordQuery->finish();
         } else {
             QString err = _getFileRecordQuery->lastError().text();
-            qDebug() << "Can not query " << _getFileRecordQuery->lastQuery() << ", Error:" << err;
+	    qDebug() << "No journal entry found for " << filename;
         }
     }
     return rec;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list