aboutsummaryrefslogtreecommitdiff
path: root/nailgun_launcher
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-09-12 14:01:46 +0100
committerChristopher Vogt <oss.nsp@cvogt.org>2016-09-12 14:04:57 +0100
commitb9622662f76cd6a1c738224aea04e94b55190e58 (patch)
treeb145c8c68a4ebd940340ed228e8e5b2e9db7516c /nailgun_launcher
parent268d5ff5a42c0b94654393935f4aaff4673428fc (diff)
downloadcbt-b9622662f76cd6a1c738224aea04e94b55190e58.tar.gz
cbt-b9622662f76cd6a1c738224aea04e94b55190e58.tar.bz2
cbt-b9622662f76cd6a1c738224aea04e94b55190e58.zip
show complete stack trace, not just the one for the outer most exception, when CBT crashes
Diffstat (limited to 'nailgun_launcher')
-rw-r--r--nailgun_launcher/NailgunLauncher.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/nailgun_launcher/NailgunLauncher.java b/nailgun_launcher/NailgunLauncher.java
index fbb9e9c..904a646 100644
--- a/nailgun_launcher/NailgunLauncher.java
+++ b/nailgun_launcher/NailgunLauncher.java
@@ -82,10 +82,8 @@ public class NailgunLauncher{
new File(compatibilityTarget), start, classLoaderCache.keys, classLoaderCache.values
)
);
- } catch (Exception e) {
- Throwable t = unwrapInvocationTargetException(e);
- t.printStackTrace();
- System.exit(1);
+ } catch (java.lang.reflect.InvocationTargetException e) {
+ throw unwrapInvocationTargetException(e);
}
}