提交 35095a53 编写于 作者: K kohsuke

no use printing to stderr

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15285 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a2432a44
......@@ -867,9 +867,9 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
LOGGER.info(toString()+" main build action completed: "+result);
} catch (ThreadDeath t) {
throw t;
} catch( AbortException e ) {
} catch( AbortException e ) {// orderly abortion
result = Result.FAILURE;
} catch( RunnerAbortedException e ) {
} catch( RunnerAbortedException e ) {// orderly abortion.
result = Result.FAILURE;
} catch( InterruptedException e) {
// aborted
......@@ -917,14 +917,14 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
try {
save();
} catch (IOException e) {
e.printStackTrace();
LOGGER.log(Level.SEVERE, "Failed to save build record",e);
}
}
try {
getParent().logRotate();
} catch (IOException e) {
e.printStackTrace();
LOGGER.log(Level.SEVERE, "Failed to rotate log",e);
}
} finally {
onEndBuilding();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册