提交 6dbef5cb 编写于 作者: K kohsuke

handle AbortException gracefully without spewing a stack trace.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33855 71c3de6d-444a-0410-be80-ed276b4c234a
上级 804e200f
......@@ -249,6 +249,10 @@ public final class TcpSlaveAgentListener extends Thread {
}
}
});
} catch (AbortException e) {
logw.println(e.getMessage());
logw.println("Failed to establish the connection with the slave");
throw e;
} catch (IOException e) {
logw.println("Failed to establish the connection with the slave");
e.printStackTrace(logw);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册