Преглед изворни кода

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 година
родитељ
комит
1ad969537a

+ 0
- 1
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;
}
}


Loading…
Откажи
Сачувај