Browse Source

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.
tags/8.0
Sébastien Lesaint 4 years ago
parent
commit
1ad969537a

+ 0
- 1
server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java View File

@@ -194,7 +194,6 @@ public class SchedulerImpl implements Scheduler, ManagedProcessEventListener, Pr
} catch (RuntimeException e) {
// failed to start command -> stop everything
hardStop();
throw e;
}
}


Loading…
Cancel
Save