]> source.dussan.org Git - sonarqube.git/commitdiff
Fixed SearchClient error output to show request
authorStephane Gamard <stephane.gamard@sonarsource.com>
Wed, 8 Oct 2014 10:18:12 +0000 (12:18 +0200)
committerStephane Gamard <stephane.gamard@sonarsource.com>
Wed, 8 Oct 2014 10:20:14 +0000 (12:20 +0200)
server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java

index 6f3aa129c6b70fd0ba51895769bf384a40cf03ce..77a3a09fe6e86049a9798a73e8c250bebff5255a 100644 (file)
@@ -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);
     }
   }