aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/sonarsource/scanner/cli/Main.java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-09-16 16:08:38 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-09-16 16:08:38 +0200
commitb37e0615accadebdb29166ddb1e383ea54cca16f (patch)
tree233d830b2dcc8bc68b90d2ac595e9134a595fd6b /src/main/java/org/sonarsource/scanner/cli/Main.java
parentb3301560b57ee7075eb729ec4dea2b2e53e6e0b9 (diff)
downloadsonar-scanner-cli-b37e0615accadebdb29166ddb1e383ea54cca16f.tar.gz
sonar-scanner-cli-b37e0615accadebdb29166ddb1e383ea54cca16f.zip
SQSCANNER-23 Support the new 'MessageException' unchecked exception and log by default the error stack trace only when a non-MessageException is thrown
Diffstat (limited to 'src/main/java/org/sonarsource/scanner/cli/Main.java')
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Main.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/Main.java b/src/main/java/org/sonarsource/scanner/cli/Main.java
index 83bdf33..f825034 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Main.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Main.java
@@ -103,7 +103,6 @@ public class Main {
|| "DEBUG".equalsIgnoreCase(props.getProperty("sonar.log.level"))
|| "TRACE".equalsIgnoreCase(props.getProperty("sonar.log.level"))) {
logger.setDebugEnabled(true);
- logger.setDisplayStackTrace(true);
}
}