Преглед на файлове

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
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0
    1
      server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java

+ 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…
Отказ
Запис