aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java b/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java
index 7a7bbdca8b6..853365c3bcf 100644
--- a/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java
+++ b/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java
@@ -129,7 +129,7 @@ public class BundleSynchronizedMatcher extends BaseMatcher<String> {
writer = new FileWriter(dumpFile);
writer.write(details);
} catch (IOException e) {
- System.out.println("Unable to write the report to 'target/l10n/" + bundleName + ".report.txt'.");
+ throw new RuntimeException("Unable to write the report to 'target/l10n/" + bundleName + ".report.txt'");
} finally {
IOUtils.closeQuietly(writer);
}