aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2022-01-16 11:43:19 +0100
committerPetr Mrázek <peterix@gmail.com>2022-01-16 11:43:19 +0100
commit86d99f80c3b3c161688f6ce2fa222eb1a3ed5a3c (patch)
tree790d409b486b0d02bfea430fc27fc18ae858d085
parent52420963cf1f258f14cedd7ff41412338d73b369 (diff)
downloadPrismLauncher-86d99f80c3b3c161688f6ce2fa222eb1a3ed5a3c.tar.gz
PrismLauncher-86d99f80c3b3c161688f6ce2fa222eb1a3ed5a3c.tar.bz2
PrismLauncher-86d99f80c3b3c161688f6ce2fa222eb1a3ed5a3c.zip
NOISSUE add some logging to profile fetching failures
-rw-r--r--launcher/minecraft/auth/steps/MinecraftProfileStep.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp b/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp
index 9fef99b0..dc3df44f 100644
--- a/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp
+++ b/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp
@@ -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.")