提交 1a5d57fd 编写于 作者: O Otmane TAZI

[FIXED JENKINS-29888] Handling all exceptions returned by logRotator

上级 157cd102
...@@ -1803,11 +1803,9 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run ...@@ -1803,11 +1803,9 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
try { try {
getParent().logRotate(); getParent().logRotate();
} catch (IOException e) { } catch (Exception e) {
LOGGER.log(Level.SEVERE, "Failed to rotate log",e); LOGGER.log(Level.SEVERE, "Failed to rotate log",e);
} catch (InterruptedException e) { }
LOGGER.log(Level.SEVERE, "Failed to rotate log",e);
}
} finally { } finally {
onEndBuilding(); onEndBuilding();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册