提交 46f79598 编写于 作者: K kohsuke

why do we catch an exception here?

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23213 71c3de6d-444a-0410-be80-ed276b4c234a
上级 76eadc1a
......@@ -156,7 +156,7 @@ public class WindowsSlaveInstaller implements Callable<Void,RuntimeException>, A
}
});
System.exit(0);
} catch (Exception t) {
} catch (Exception t) {// this runs as a JNLP app, so if we let an exeption go, we'll never find out why it failed
StringWriter sw = new StringWriter();
t.printStackTrace(new PrintWriter(sw));
JOptionPane.showMessageDialog(dialog,sw.toString(),"Error", ERROR_MESSAGE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册