mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
on server errors, treat account as offline
Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
parent
803115cfde
commit
0a3adb7912
5 changed files with 18 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ void MinecraftProfileStep::onRequestDone(QByteArray* response)
|
|||
qWarning() << " Response:";
|
||||
qWarning() << QString::fromUtf8(*response);
|
||||
|
||||
if (Net::isApplicationError(m_request->error())) {
|
||||
if (Net::isApplicationError(m_request->error()) && !Net::isServerError(m_request->error())) {
|
||||
emit finished(AccountTaskState::STATE_FAILED_SOFT,
|
||||
tr("Minecraft Java profile acquisition failed: %1").arg(m_request->errorString()));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue