C0urante commented on code in PR #16166:
URL: https://github.com/apache/kafka/pull/16166#discussion_r1623243320


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/RestClient.java:
##########
@@ -190,15 +190,15 @@ private <T> HttpResponse<T> httpRequest(HttpClient 
client, String url, String me
                         "Unexpected status code when handling forwarded 
request: " + responseCode);
             }
         } catch (IOException | InterruptedException | TimeoutException | 
ExecutionException e) {
-            log.error("IO error forwarding REST request: ", e);
+            log.error("IO error forwarding REST request to URL: " + url, e);

Review Comment:
   Instead of string concatenation, can we use standard Log4J formatting syntax?
   
   ```suggestion
               log.error("IO error forwarding REST request to {}", url, e);
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to