diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-08-18 04:18:59 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-08-18 04:18:59 +0200 |
commit | 4a283fe4c13bda6f2ab9ffe6d32dacb2b61f622c (patch) | |
tree | 1d198bddc6ff7971264d0eb0b4e9df3093250169 /libraries | |
parent | f1a5f7bc4d27fb4f86b61c24b9502d9f8ff79be2 (diff) | |
download | PrismLauncher-4a283fe4c13bda6f2ab9ffe6d32dacb2b61f622c.tar.gz PrismLauncher-4a283fe4c13bda6f2ab9ffe6d32dacb2b61f622c.tar.bz2 PrismLauncher-4a283fe4c13bda6f2ab9ffe6d32dacb2b61f622c.zip |
NOISSUE print errorString in Requestor
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/katabasis/src/Requestor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/katabasis/src/Requestor.cpp b/libraries/katabasis/src/Requestor.cpp index e53d4108..917f2c07 100644 --- a/libraries/katabasis/src/Requestor.cpp +++ b/libraries/katabasis/src/Requestor.cpp @@ -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)) { |