gresockj commented on a change in pull request #4693:
URL: https://github.com/apache/nifi/pull/4693#discussion_r724403203



##########
File path: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/main/java/org/apache/nifi/elasticsearch/ElasticSearchClientServiceImpl.java
##########
@@ -182,8 +181,8 @@ private Response runQuery(final String endpoint, final 
String query, final Strin
 
         final HttpEntity queryEntity = new NStringEntity(query, 
ContentType.APPLICATION_JSON);
         try {
-            return client.performRequest("POST", sb.toString(), 
requestParameters != null ? requestParameters : Collections.emptyMap(), 
queryEntity);
-        } catch (final Exception e) {
+            return performRequest("POST", sb.toString(), requestParameters, 
queryEntity);

Review comment:
       Sorry, looks like I clicked the wrong line.  I meant the Exception, 
which used to be final, but no longer is with the PR




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

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to