aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@sonarsource.com>2014-10-08 12:17:35 +0200
committerStephane Gamard <stephane.gamard@sonarsource.com>2014-10-08 12:20:14 +0200
commitd0ff15f62677b41d72e2c0ad63d799ce6778ad01 (patch)
tree3d8f58b509a2d62fd36e773ce2ad93d78556593e
parent3a0353c574d600c398df2a47692144f8fb0e2a0c (diff)
downloadsonarqube-d0ff15f62677b41d72e2c0ad63d799ce6778ad01.tar.gz
sonarqube-d0ff15f62677b41d72e2c0ad63d799ce6778ad01.zip
Fixed SearchClient error output to show request
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java2
1 files changed, 1 insertions, 1 deletions
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 3db7c216dde..6f3aa129c6b 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: " + response, e);
+ LOGGER.error("could not execute request: " + request, e);
throw new IllegalStateException("ES error: ", e);
}
}