From 7abd5996ab8df1121e0bf5df55df236514696a46 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Wed, 5 Jun 2024 07:46:54 -0400 Subject: [PATCH] Add response to debug log event in HttpSender#failRequest() Signed-off-by: Gary Gregory --- .../java/org/eclipse/jetty/client/transport/HttpSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpSender.java b/jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpSender.java index 7df73f3cd262..c60607572a7f 100644 --- a/jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpSender.java +++ b/jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/transport/HttpSender.java @@ -208,7 +208,7 @@ private boolean failRequest(Throwable failure) return false; if (LOG.isDebugEnabled()) - LOG.debug("Request failure {}", exchange.getRequest(), failure); + LOG.debug("Request failure {}, response {}", exchange.getRequest(), exchange.getResponse(), failure); // Mark atomically the request as completed, with respect // to concurrency between request success and request failure.