mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 00:09:14 +01:00
MusicBrainzClient fix: Don't try to read reply on connection timeout
that previously resulted in an IO error
This commit is contained in:
parent
c58335c6c9
commit
e187a68e9f
@ -113,7 +113,7 @@ void MusicBrainzClient::DiscIdRequestFinished(const QString& discid,
|
|||||||
<< "Error:"
|
<< "Error:"
|
||||||
<< reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt()
|
<< reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt()
|
||||||
<< "http status code received";
|
<< "http status code received";
|
||||||
qLog(Error) << reply->readAll();
|
if (reply->isOpen()) qLog(Error) << reply->readAll();
|
||||||
emit Finished(artist, album, ret);
|
emit Finished(artist, album, ret);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user