]> 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:17:35 +0000 (12:17 +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 3db7c216dde32196b1e8fa6c8cafd896235a4aee..6f3aa129c6b70fd0ba51895769bf384a40cf03ce 100644 (file)
@@ -100,7 +100,7 @@ public class SearchClient extends TransportClient implements Startable {
       }
       return response;
     } catch (Exception e) {
-      LOGGER.error("could not execute request: " + response, e);
+      LOGGER.error("could not execute request: " + request, e);
       throw new IllegalStateException("ES error: ", e);
     }
   }