소스 검색

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…
취소
저장