arpadboda commented on a change in pull request #3647: NIFI-6530 - HTTP
SiteToSite server returns 201 in case no data is ava…
URL: https://github.com/apache/nifi/pull/3647#discussion_r314876822
##########
File path:
nifi-stateless/nifi-stateless-core/src/main/java/org/apache/nifi/stateless/core/StatelessRemoteOutputPort.java
##########
@@ -139,7 +140,11 @@ public boolean runRecursive(final Queue<InMemoryFlowFile>
queue) {
transaction.confirm();
transaction.complete();
- } catch (final Exception e) {
+ } catch (final NoContentException e) {
+ getLogger().info("No flowfiles to receive");
Review comment:
Good spot, will change.
----------------------------------------------------------------
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