From 1779050fffe731c5c2c195b32270fb73cebe45b2 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 26 Oct 2014 17:07:29 +0100 Subject: [PATCH] Add error message when MB disc id request fails --- src/musicbrainz/musicbrainzclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/musicbrainz/musicbrainzclient.cpp b/src/musicbrainz/musicbrainzclient.cpp index 4f17cd107..149cd9b79 100644 --- a/src/musicbrainz/musicbrainzclient.cpp +++ b/src/musicbrainz/musicbrainzclient.cpp @@ -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; }