diff --git a/launcher/ui/pages/instance/McClient.cpp b/launcher/ui/pages/instance/McClient.cpp index 915df55d4..f110e1fe8 100644 --- a/launcher/ui/pages/instance/McClient.cpp +++ b/launcher/ui/pages/instance/McClient.cpp @@ -60,9 +60,13 @@ void McClient::readRawResponse() if (m_responseReadState == 1 && m_resp.size() >= m_wantedRespLength) { if (m_resp.size() > m_wantedRespLength) { qDebug().nospace() << "Warning: Packet length doesn't match actual packet size (" << m_wantedRespLength << " expected vs " - << m_resp.size() << " received)"; + << m_resp.size() << " received)"; + } + try { + parseResponse(); + } catch (const Exception& e) { + emitFail(e.cause()); } - parseResponse(); m_responseReadState = 2; } }