1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Add error message when MB disc id request fails

This commit is contained in:
Arnaud Bienner 2014-10-26 17:07:29 +01:00
parent 5a7c462fc3
commit 1779050fff

View File

@ -102,6 +102,10 @@ void MusicBrainzClient::DiscIdRequestFinished(const QString& discid,
if (reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() !=
200) {
qLog(Error) << "Error:" <<
reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() <<
"http status code received";
qLog(Error) << reply->readAll();
emit Finished(artist, album, ret);
return;
}