diff --git a/core/src/main/java/hudson/lifecycle/WindowsSlaveInstaller.java b/core/src/main/java/hudson/lifecycle/WindowsSlaveInstaller.java index 1cd5b3e226567d6d2a46cc2ac69918d13365d94f..ed01a5a3afd81ba6ecfdd14af989c559a155a198 100644 --- a/core/src/main/java/hudson/lifecycle/WindowsSlaveInstaller.java +++ b/core/src/main/java/hudson/lifecycle/WindowsSlaveInstaller.java @@ -156,7 +156,7 @@ public class WindowsSlaveInstaller implements Callable, 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);