File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
launcher/minecraft/auth/elyby/steps Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ void ElybyAuthStep::onRequestDone()
5757 if (m_request->error () != QNetworkReply::NoError) {
5858 qWarning () << " Reply error:" << m_request->error ();
5959 emit finished (AccountTaskState::STATE_OFFLINE, tr (" Failed to get authorization for Elyby: %1" ).arg (m_request->errorString ()));
60+ return ;
6061 }
6162
6263 auto jsonResponse = QJsonDocument::fromJson (*m_response);
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ void ElybyRefreshStep::onRequestDone()
5757 if (m_request->error () != QNetworkReply::NoError) {
5858 qWarning () << " Reply error:" << m_request->error ();
5959 emit finished (AccountTaskState::STATE_OFFLINE, tr (" Failed to refresh authorization for Elyby: %1" ).arg (m_request->errorString ()));
60+ return ;
6061 }
6162
6263 auto jsonResponse = QJsonDocument::fromJson (*m_response);
You can’t perform that action at this time.
0 commit comments