瀏覽代碼

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…
取消
儲存