From d1047e03ab29ee46e8243b6445d3cf02b811e400 Mon Sep 17 00:00:00 2001 From: APTX Date: Mon, 13 May 2013 03:49:28 +0200 Subject: [PATCH] Print the relevant ids in warnings. --- localmylist/requesthandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.52.0