mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 15:32:40 +02:00
add a debug log for failed token refresh
This commit is contained in:
parent
14ff6a06b4
commit
9cd11a32e2
1 changed files with 3 additions and 0 deletions
|
@ -579,6 +579,9 @@ void AccountManager::refreshAccessToken() {
|
|||
QNetworkReply* requestReply = networkAccessManager.post(request, postData);
|
||||
connect(requestReply, &QNetworkReply::finished, this, &AccountManager::refreshAccessTokenFinished);
|
||||
connect(requestReply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(refreshAccessTokenError(QNetworkReply::NetworkError)));
|
||||
} else {
|
||||
qCWarning(networking) << "Cannot refresh access token without refresh token."
|
||||
<< "Access token will need to be manually refreshed.";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue