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:
parent
5a7c462fc3
commit
1779050fff
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user