Improve error reporting in the case of an error by chaining the exception. Patch by: jat Review by: rice git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8317 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/junit/JUnitShell.java b/user/src/com/google/gwt/junit/JUnitShell.java index ec48515..5f2880e 100644 --- a/user/src/com/google/gwt/junit/JUnitShell.java +++ b/user/src/com/google/gwt/junit/JUnitShell.java
@@ -671,7 +671,7 @@ try { unitTestShell.options.setConnectAddress(InetAddress.getLocalHost().getHostAddress()); } catch (UnknownHostException e) { - throw new JUnitFatalLaunchException("Unable to resolve my address"); + throw new JUnitFatalLaunchException("Unable to resolve my address", e); } if (!unitTestShell.startUp()) { throw new JUnitFatalLaunchException("Shell failed to start");