aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-08-30 11:35:30 +0200
committerSonarTech <sonartech@sonarsource.com>2019-08-30 20:21:03 +0200
commit1ad969537aab1981b4d3c06120529688b13156cb (patch)
treef2b0430a2aaf2c6bda03190bc218a6a9f589ec95
parent586d3e099da15d25e8f023e19e5bb22fec360b3f (diff)
downloadsonarqube-1ad969537aab1981b4d3c06120529688b13156cb.tar.gz
sonarqube-1ad969537aab1981b4d3c06120529688b13156cb.zip
remove rethrow of exception in tryToStartProcess
rethrowing is effectively useless as no called will catch the exception in practice, it is caught by the default exception handle of technical thread involved in scheduler SQ start/stop and logged to default logger this is just noise as the error has been logged by ManagedProcessHandler's start method anyway.
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
index 3259a5efcbb..9de3c9acbe7 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
@@ -194,7 +194,6 @@ public class SchedulerImpl implements Scheduler, ManagedProcessEventListener, Pr
} catch (RuntimeException e) {
// failed to start command -> stop everything
hardStop();
- throw e;
}
}