ijokarumawak 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_r321068442
 
 

 ##########
 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 NoValidPeerException e) {
+            getLogger().error("Unable to create a transaction for Remote 
Process Group {} to pull from port {}", new Object[]{url, name});
+            return false;
+        }
+        catch (final Exception e) {
 
 Review comment:
   Please combine this `catch` line with the previous line.

----------------------------------------------------------------
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