mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
NOISSUE print errorString in Requestor
This commit is contained in:
parent
f1a5f7bc4d
commit
4a283fe4c1
1 changed files with 1 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ void Requestor::onRequestError(QNetworkReply::NetworkError error) {
|
|||
if (reply_ != qobject_cast<QNetworkReply *>(sender())) {
|
||||
return;
|
||||
}
|
||||
qWarning() << "O2Requestor::onRequestError: Error string: " << reply_->errorString();
|
||||
int httpStatus = reply_->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||
qWarning() << "O2Requestor::onRequestError: HTTP status" << httpStatus << reply_->attribute(QNetworkRequest::HttpReasonPhraseAttribute).toString();
|
||||
if ((status_ == Requesting) && (httpStatus == 401)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue