From f7941b6431721da7ecfe19b3d795b42703394afc Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Wed, 4 Mar 2026 21:46:20 +0500 Subject: [PATCH 1/3] fix(LaunchController): emit failed with correct reason Signed-off-by: Octol1ttle --- launcher/LaunchController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index cddac5f77..c5f73ed22 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -356,7 +356,7 @@ bool LaunchController::reauthenticateAccount(MinecraftAccountPtr account, QStrin } } - emitFailed(tr("The account has expired and needs to be reauthenticated")); + emitFailed(reason); return false; } From 314a7fc67d95c6f100e02ceb2c10e14c181221ac Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Wed, 4 Mar 2026 21:46:29 +0500 Subject: [PATCH 2/3] fix(LaunchController): use separate message for account errors Signed-off-by: Octol1ttle --- launcher/LaunchController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index c5f73ed22..7a48fa7f8 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -189,6 +189,8 @@ LaunchDecision LaunchController::decideLaunchMode() QString reauthReason; switch (state) { case AccountState::Errored: + reauthReason = tr("Could not refresh '%1' due to an error").arg(accountToCheck->profileName()); + break; case AccountState::Expired: reauthReason = tr("'%1' has expired and needs to be reauthenticated").arg(accountToCheck->profileName()); break; From 31eb4c67baacf55d4ae721d09a978471e746b8bc Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Fri, 13 Mar 2026 16:59:57 +0500 Subject: [PATCH 3/3] improve error message Signed-off-by: Octol1ttle --- launcher/LaunchController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index 7a48fa7f8..df43bdbad 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -189,7 +189,7 @@ LaunchDecision LaunchController::decideLaunchMode() QString reauthReason; switch (state) { case AccountState::Errored: - reauthReason = tr("Could not refresh '%1' due to an error").arg(accountToCheck->profileName()); + reauthReason = tr("An error occurred while refreshing '%1'").arg(accountToCheck->profileName()); break; case AccountState::Expired: reauthReason = tr("'%1' has expired and needs to be reauthenticated").arg(accountToCheck->profileName());