From: APTX Date: Mon, 13 May 2013 01:49:28 +0000 (+0200) Subject: Print the relevant ids in warnings. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=d1047e03ab29ee46e8243b6445d3cf02b811e400;p=localmylist.git Print the relevant ids in warnings. --- diff --git a/localmylist/requesthandler.cpp b/localmylist/requesthandler.cpp index a2b2b08..cd32b2c 100644 --- a/localmylist/requesthandler.cpp +++ b/localmylist/requesthandler.cpp @@ -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; }