diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-10-16 11:21:30 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-10-16 11:21:41 +0200 |
commit | 6541635733c140e7e6cfa0fb4f454cefe98de1fd (patch) | |
tree | fdcc10ef339b7b50c3bb76096a01a5a67176fab3 /server | |
parent | 4c6a88c7b856cfac249bddd8df943e83f6c7e10b (diff) | |
download | sonarqube-6541635733c140e7e6cfa0fb4f454cefe98de1fd.tar.gz sonarqube-6541635733c140e7e6cfa0fb4f454cefe98de1fd.zip |
Fix SearchClient to display exception detail on error
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/search/SearchClient.java | 2 |
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 77a3a09fe6e..0b0b65f9e21 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); + LOGGER.error(String.format("could not execute request: %s", request), e); throw new IllegalStateException("ES error: ", e); } } |