aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-03-18 16:55:35 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-03-18 17:57:36 +0100
commitfbbf0d48b0d922112ba405bee7da94eae0fd4194 (patch)
tree1087607d696f33d4b496ee68531b66be430730a8 /sonar-batch
parent785da30e37911001764c09cc78835c969849a06e (diff)
downloadsonarqube-fbbf0d48b0d922112ba405bee7da94eae0fd4194.tar.gz
sonarqube-fbbf0d48b0d922112ba405bee7da94eae0fd4194.zip
SONAR-5094 Change error message when quality gate is not found
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/qualitygate/QualityGateProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/qualitygate/QualityGateProvider.java b/sonar-batch/src/main/java/org/sonar/batch/qualitygate/QualityGateProvider.java
index 5a8cbc98f89..e2e298f2fd1 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/qualitygate/QualityGateProvider.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/qualitygate/QualityGateProvider.java
@@ -70,7 +70,7 @@ public class QualityGateProvider extends ProviderAdapter {
configuredGate = fetch(qualityGateSetting, client, metricFinder);
} catch (HttpDownloader.HttpException serverError) {
if (serverError.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) {
- throw MessageException.of("No quality gate found with configured value '" + qualityGateSetting + "'. Please check your configuration.");
+ throw MessageException.of("Quality gate '" + qualityGateSetting + "' was not found.");
} else {
throw serverError;
}