[Pkg-owncloud-commits] [owncloud-client] 35/211: Less offensive logging, only use error if there was one.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:23 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 9bb89dced541506bfa936b35170b5a04b0efb965
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Oct 10 10:12:30 2014 +0200

    Less offensive logging, only use error if there was one.
---
 src/mirall/folder.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index 4167e20..cf85dc5 100644
--- a/src/mirall/folder.cpp
+++ b/src/mirall/folder.cpp
@@ -705,8 +705,11 @@ void Folder::slotCsyncUnavailable()
 
 void Folder::slotSyncFinished()
 {
-    qDebug() << "-> CSync Finished slot with error " << _csyncError << "warn count" << _syncResult.warnCount();
-
+    if( _csyncError ) {
+        qDebug() << "-> SyncEngine finished with ERROR, warn count is" << _syncResult.warnCount();
+    } else {
+        qDebug() << "-> SyncEngine finished without problem.";
+    }
     bubbleUpSyncResult();
 
     bool anotherSyncNeeded = false;

-- 
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