diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-25 01:27:38 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-25 01:27:38 +0100 |
commit | e3389a4eef5beaa8db49fcd82a8b725f234d3840 (patch) | |
tree | 6ab67795db4a120ba10d8e900254148263173ff2 /logic/auth | |
parent | 5a2df0d41a1570fcb9b36de2ae654415bee1d209 (diff) | |
download | MultiMC-e3389a4eef5beaa8db49fcd82a8b725f234d3840.tar MultiMC-e3389a4eef5beaa8db49fcd82a8b725f234d3840.tar.gz MultiMC-e3389a4eef5beaa8db49fcd82a8b725f234d3840.tar.lz MultiMC-e3389a4eef5beaa8db49fcd82a8b725f234d3840.tar.xz MultiMC-e3389a4eef5beaa8db49fcd82a8b725f234d3840.zip |
Log even more error stuff for login.
Diffstat (limited to 'logic/auth')
-rw-r--r-- | logic/auth/YggdrasilTask.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/logic/auth/YggdrasilTask.cpp b/logic/auth/YggdrasilTask.cpp index 3ba53bd7..277d7bfd 100644 --- a/logic/auth/YggdrasilTask.cpp +++ b/logic/auth/YggdrasilTask.cpp @@ -79,7 +79,7 @@ void YggdrasilTask::abort() void YggdrasilTask::sslErrors(QList<QSslError> errors) { int i = 1; - for(auto error: errors) + for (auto error : errors) { QLOG_ERROR() << "LOGIN SSL Error #" << i << " : " << error.errorString(); auto cert = error.certificate(); @@ -94,12 +94,16 @@ void YggdrasilTask::processReply() if (m_netReply->error() == QNetworkReply::SslHandshakeFailedError) { - emitFailed(tr("<b>SSL Handshake failed.</b><br/>There might be a few causes for it:<br/>" - "<ul>" - "<li>You use Windows XP and need to <a href=\"http://www.microsoft.com/en-us/download/details.aspx?id=38918\">update your root certificates</a></li>" - "<li>Some device on your network is interfering with SSL traffic. In that case, you have bigger worries than Minecraft not starting.</li>" - "<li>Possibly something else. Check the MultiMC log file for details</li>" - "</ul>")); + emitFailed( + tr("<b>SSL Handshake failed.</b><br/>There might be a few causes for it:<br/>" + "<ul>" + "<li>You use Windows XP and need to <a " + "href=\"http://www.microsoft.com/en-us/download/details.aspx?id=38918\">update " + "your root certificates</a></li>" + "<li>Some device on your network is interfering with SSL traffic. In that case, " + "you have bigger worries than Minecraft not starting.</li>" + "<li>Possibly something else. Check the MultiMC log file for details</li>" + "</ul>")); return; } @@ -109,6 +113,8 @@ void YggdrasilTask::processReply() { // WARNING/FIXME: the value here is used in MojangAccount to detect the cancel/timeout emitFailed("Yggdrasil task cancelled."); + QLOG_ERROR() << "Yggdrasil task cancelled because of: " << m_netReply->error() << " : " + << m_netReply->errorString(); return; } |