diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-04-06 20:31:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-04-16 00:46:41 +0200 |
commit | b286b9328158ad7686b7787d54c857e973c5b74c (patch) | |
tree | 1b6b7758dbd6f3466cae3296aea5d11d6bf7e8ab /logic/auth/MojangAccount.cpp | |
parent | 632c087483a6ab714486ac5f9465c4752f1219a5 (diff) | |
download | MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar.gz MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar.lz MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar.xz MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.zip |
Give more feedback for YggdrasilTask network errors.
Diffstat (limited to 'logic/auth/MojangAccount.cpp')
-rw-r--r-- | logic/auth/MojangAccount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/auth/MojangAccount.cpp b/logic/auth/MojangAccount.cpp index 6c937ef1..31a238ba 100644 --- a/logic/auth/MojangAccount.cpp +++ b/logic/auth/MojangAccount.cpp @@ -220,7 +220,7 @@ void MojangAccount::authFailed(QString reason) auto session = m_currentTask->getAssignedSession(); // This is emitted when the yggdrasil tasks time out or are cancelled. // -> we treat the error as no-op - if (reason == "Yggdrasil task cancelled.") + if (m_currentTask->state() == YggdrasilTask::STATE_FAILED_SOFT) { if (session) { |