NOISSUE add some logging to profile fetching failures

This commit is contained in:
Petr Mrázek 2022-01-16 11:43:19 +01:00
parent 52420963cf
commit 86d99f80c3

View File

@ -56,6 +56,11 @@ void MinecraftProfileStep::onRequestDone(
return;
}
if (error != QNetworkReply::NoError) {
qWarning() << "Error getting profile:";
qWarning() << " HTTP Status: " << requestor->httpStatus_;
qWarning() << " Internal error no.: " << error;
qWarning() << " Error string: " << requestor->errorString_;
emit finished(
AccountTaskState::STATE_FAILED_SOFT,
tr("Minecraft Java profile acquisition failed.")