Google Drive Auth - more diags

.. auth sometimes fails, give better reasons
This commit is contained in:
Mark Liversedge
2016-12-24 10:05:45 +00:00
parent 3fd4be33a4
commit ad3346df35

View File

@@ -463,6 +463,12 @@ void OAuthDialog::networkRequestFinished(QNetworkReply *reply) {
tr("Information"), info);
information.exec();
}
} else {
QString error = QString(tr("Error retrieving access token, %1 (%2)")).arg(reply->errorString()).arg(reply->error());
QMessageBox oautherr(QMessageBox::Critical, tr("SSL Token Refresh Error"), error);
oautherr.setDetailedText(error);
oautherr.exec();
}
// job done, dialog can be closed
accept();