From 4a283fe4c13bda6f2ab9ffe6d32dacb2b61f622c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 18 Aug 2021 04:18:59 +0200 Subject: [PATCH] NOISSUE print errorString in Requestor --- libraries/katabasis/src/Requestor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/katabasis/src/Requestor.cpp b/libraries/katabasis/src/Requestor.cpp index e53d4108c..917f2c075 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(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)) {