mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Google Drive Auth - more diags
.. auth sometimes fails, give better reasons
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user