diff --git a/src/mirall/account.cpp b/src/mirall/account.cpp index 93022e5249..f15f8484ad 100644 --- a/src/mirall/account.cpp +++ b/src/mirall/account.cpp @@ -301,7 +301,11 @@ void Account::setState(int state) void Account::slotHandleErrors(QNetworkReply *reply , QList errors) { NetworkJobTimeoutPauser pauser(reply); - qDebug() << "SSL-Warnings happened for url " << reply->url().toString(); + qDebug() << "SSL-Errors happened for url " << reply->url().toString(); + foreach(const QSslError &error, errors) { + qDebug() << "\tError in " << error.certificate() << ":" + << error.errorString() << "("<< error.error()<< ")"; + } if( _treatSslErrorsAsFailure ) { // User decided once not to trust. Honor this decision. @@ -317,7 +321,7 @@ void Account::slotHandleErrors(QNetworkReply *reply , QList errors) QSslSocket::addDefaultCaCertificates(approvedCerts); addApprovedCerts(approvedCerts); // all ssl certs are known and accepted. We can ignore the problems right away. - qDebug() << "Certs are already known and trusted, Warnings are not valid."; + qDebug() << "Certs are already known and trusted, Errors are not valid."; reply->ignoreSslErrors(); } else { _treatSslErrorsAsFailure = true;