diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-01-07 15:03:20 +0100 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-01-07 15:03:20 +0100 |
commit | cba6dcf8b735ca9da345538c8308318c040ec899 (patch) | |
tree | d1fe9d8eb17d656e3abc605ef58c5e9682c15940 /sonar-server/src | |
parent | 9389e3b8fa74d4bc51ccb8bc595ae0c9de819c58 (diff) | |
download | sonarqube-cba6dcf8b735ca9da345538c8308318c040ec899.tar.gz sonarqube-cba6dcf8b735ca9da345538c8308318c040ec899.zip |
SONAR-4896 Display full path to ES data directory in error message
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/search/SearchNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/search/SearchNode.java b/sonar-server/src/main/java/org/sonar/server/search/SearchNode.java index 633249e0272..fa7cbfd1b88 100644 --- a/sonar-server/src/main/java/org/sonar/server/search/SearchNode.java +++ b/sonar-server/src/main/java/org/sonar/server/search/SearchNode.java @@ -93,7 +93,7 @@ public class SearchNode implements Startable { .execute().actionGet() .getStatus() == ClusterHealthStatus.RED) { throw new IllegalStateException( - String.format("Elasticsearch index is corrupt, please delete directory '${SonarQubeHomeDirectory}/%s' and relaunch the SonarQube server.", DATA_DIR)); + String.format("Elasticsearch index is corrupt, please delete directory '%s/%s' and relaunch the SonarQube server.", fileSystem.getHomeDir().getAbsolutePath(), DATA_DIR)); } LOG.info("Elasticsearch started"); |