From 118382fbab8c1c829a22a013ee16ac13d4286655 Mon Sep 17 00:00:00 2001 From: Stephane Gamard Date: Wed, 8 Oct 2014 12:18:12 +0200 Subject: [PATCH] Fixed SearchClient error output to show request --- .../src/main/java/org/sonar/server/search/SearchClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java b/server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java index 6f3aa129c6b..77a3a09fe6e 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java +++ b/server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java @@ -100,7 +100,7 @@ public class SearchClient extends TransportClient implements Startable { } return response; } catch (Exception e) { - LOGGER.error("could not execute request: " + request, e); + LOGGER.error("could not execute request: {}", request); throw new IllegalStateException("ES error: ", e); } } -- 2.39.5