提交 bcd99b7a 编写于 作者: K kohsuke

adding more error catching to diagnose the problem reported by Ken Hofsass...

adding more error catching to diagnose the problem reported by Ken Hofsass (offline discussion) about the sudden disappearance of the launch thread.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10154 71c3de6d-444a-0410-be80-ed276b4c234a
上级 14c71a43
......@@ -85,6 +85,10 @@ public class CommandLauncher extends ComputerLauncher {
LOGGER.info("slave agent launched for " + computer.getDisplayName());
} catch (InterruptedException e) {
e.printStackTrace(listener.error("aborted"));
} catch (RuntimeException e) {
e.printStackTrace(listener.error("Unexpected error in launching a slave. This is probably a bug in Hudson"));
} catch (Error e) {
e.printStackTrace(listener.error("Unexpected error in launching a slave. This is probably a bug in Hudson"));
} catch (IOException e) {
Util.displayIOException(e, listener);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册