aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2022-01-16 11:43:19 +0100
committerdada513 <dada513@protonmail.com>2022-01-24 11:44:47 +0100
commit70c04745ee49a127f43a0947e0a0e0d9b2f8eb5e (patch)
treeba8c2627b98927539e2f5b0b89f72662f1e89116 /launcher
parent019c77f9f7be792952fc7a6da54285e76d592e3e (diff)
downloadPrismLauncher-70c04745ee49a127f43a0947e0a0e0d9b2f8eb5e.tar.gz
PrismLauncher-70c04745ee49a127f43a0947e0a0e0d9b2f8eb5e.tar.bz2
PrismLauncher-70c04745ee49a127f43a0947e0a0e0d9b2f8eb5e.zip
NOISSUE add some logging to profile fetching failures
Diffstat (limited to 'launcher')
-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.")