Skip to content
Permalink
Browse files
allow a failed QNetworkRequest to set a QgsNetworkReplyContent.conten…
…t() for custom server error messages

(cherry picked from commit 5be8846)
  • Loading branch information
nilsnolde authored and nyalldawson committed Apr 17, 2021
1 parent 1648e16 commit 296588c0670d2bf367b3349909a95a484a42bf93
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsblockingnetworkrequest.cpp
@@ -383,6 +383,7 @@ void QgsBlockingNetworkRequest::replyFinished()
QgsMessageLog::logMessage( mErrorMessage, tr( "Network" ) );
}
mReplyContent = QgsNetworkReplyContent( mReply );
mReplyContent.setContent( mReply->readAll() );
}
}
if ( mTimedout )

0 comments on commit 296588c

Please sign in to comment.