File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,6 @@ void O2::refresh() {
432
432
433
433
void O2::onRefreshFinished () {
434
434
QNetworkReply *refreshReply = qobject_cast<QNetworkReply *>(sender ());
435
- qDebug () << " O2::onRefreshFinished: Error" << (int )refreshReply->error () << refreshReply->errorString ();
436
435
if (refreshReply->error () == QNetworkReply::NoError) {
437
436
QByteArray reply = refreshReply->readAll ();
438
437
QVariantMap tokens = parseTokenResponse (reply);
@@ -445,6 +444,10 @@ void O2::onRefreshFinished() {
445
444
Q_EMIT refreshFinished (QNetworkReply::NoError);
446
445
qDebug () << " New token expires in" << expires () << " seconds" ;
447
446
}
447
+ else
448
+ {
449
+ qDebug () << " O2::onRefreshFinished: Error" << (int )refreshReply->error () << refreshReply->errorString ();
450
+ }
448
451
refreshReply->deleteLater ();
449
452
}
450
453
You can’t perform that action at this time.
0 commit comments