elkkhan commented on code in PR #12320:
URL: https://github.com/apache/kafka/pull/12320#discussion_r912471560


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/RestClient.java:
##########
@@ -143,15 +156,12 @@ public static <T> HttpResponse<T> httpRequest(String url, 
String method, HttpHea
         } catch (IOException | InterruptedException | TimeoutException | 
ExecutionException e) {
             log.error("IO error forwarding REST request: ", e);
             throw new 
ConnectRestException(Response.Status.INTERNAL_SERVER_ERROR, "IO Error trying to 
forward REST request: " + e.getMessage(), e);
+        } catch (ConnectRestException e) {

Review Comment:
   sure, added a comment, let me know if the wording is understandable



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to