]> Some of my projects - localmylist.git/commitdiff
Print the relevant ids in warnings.
authorAPTX <marek321@gmail.com>
Mon, 13 May 2013 01:49:28 +0000 (03:49 +0200)
committerAPTX <marek321@gmail.com>
Mon, 13 May 2013 01:49:28 +0000 (03:49 +0200)
localmylist/requesthandler.cpp

index a2b2b08663fb6f0087afb0aa514837780266cc12..cd32b2cdb3297e6bb368fff53867620d7d367715 100644 (file)
@@ -545,7 +545,7 @@ void RequestHandler::myListAddReplyRecieved(bool success)
 
                if (!f.fid)
                {
-                       qWarning("File added to MyList not in DB!");
+                       qWarning() << "File added to MyList not in DB!" << reply->command().fid();
                        return;
                }
 
@@ -596,7 +596,7 @@ void RequestHandler::myListEditReplyRecieved(bool success)
 
        if (!request.updateId)
        {
-               qWarning("PendingMyListUpdate not in DB");
+               qWarning() << "PendingMyListUpdate not in DB" << id;
                return;
        }
 
@@ -610,7 +610,7 @@ void RequestHandler::myListEditReplyRecieved(bool success)
 
                if (!file.fid)
                {
-                       qWarning("Updated file not in DB");
+                       qWarning() << "Updated file not in DB" << reply->command().fid();
                        return;
                }
 
@@ -659,7 +659,7 @@ void RequestHandler::myListUpdateVoteReplyRecieved(bool success)
 
        if (!request.updateId)
        {
-               qWarning("PendingMyListUpdate not in DB");
+               qWarning() << "PendingMyListUpdate not in DB" << id;
                return;
        }