[Pkg-running-devel] [openambit] 72/131: Added debug printout if movescount log upload failed

Christian Perrier bubulle at moszumanska.debian.org
Thu Jul 17 20:19:12 UTC 2014


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

bubulle pushed a commit to branch master
in repository openambit.

commit 6708a29a1ecb7e1dbe30e421be270770e1532845
Author: Emil Ljungdahl <emil at kratern.se>
Date:   Fri Jan 24 07:41:17 2014 +0100

    Added debug printout if movescount log upload failed
---
 src/openambit/movescount/movescount.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/openambit/movescount/movescount.cpp b/src/openambit/movescount/movescount.cpp
index f9016f7..1867f0d 100644
--- a/src/openambit/movescount/movescount.cpp
+++ b/src/openambit/movescount/movescount.cpp
@@ -23,6 +23,7 @@
 #include <QtNetwork/QNetworkRequest>
 #include <QEventLoop>
 #include <QMutex>
+#include <QDebug>
 
 #include "logstore.h"
 
@@ -198,6 +199,9 @@ void MovesCount::writeLog(LogEntry *logEntry)
             emit logMoveID(logEntry->device, logEntry->time, moveId);
         }
     }
+    else {
+        qDebug() << "Failed to upload log, movescount.com replied with \"" << reply->readAll() << "\"";
+    }
 }
 
 void MovesCount::authCheckFinished()

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



More information about the Pkg-running-devel mailing list