aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-08-18 04:18:59 +0200
committerPetr Mrázek <peterix@gmail.com>2021-08-18 04:18:59 +0200
commit4a283fe4c13bda6f2ab9ffe6d32dacb2b61f622c (patch)
tree1d198bddc6ff7971264d0eb0b4e9df3093250169 /libraries
parentf1a5f7bc4d27fb4f86b61c24b9502d9f8ff79be2 (diff)
downloadPrismLauncher-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.cpp1
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)) {