arpadboda commented on a change in pull request #615: MINIFICPP-963 - Zero byte 
(no content) flow files cannot be received …
URL: https://github.com/apache/nifi-minifi-cpp/pull/615#discussion_r319974462
 
 

 ##########
 File path: extensions/http-curl/sitetosite/HTTPProtocol.cpp
 ##########
 @@ -286,6 +287,9 @@ void HttpSiteToSiteClient::closeTransaction(const 
std::string &transactionID) {
   logger_->log_debug("Received %d response code from delete", 
client->getResponseCode());
 
   if (client->getResponseCode() == 400) {
+    std::string error(client->getResponseBody().data(), 
client->getResponseBody().size());
+
+    logger_->log_warn("400 received: %s", error);
 
 Review comment:
   Good shout, thanks!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to