diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-09-12 14:01:46 +0100 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-09-12 14:04:57 +0100 |
commit | b9622662f76cd6a1c738224aea04e94b55190e58 (patch) | |
tree | b145c8c68a4ebd940340ed228e8e5b2e9db7516c | |
parent | 268d5ff5a42c0b94654393935f4aaff4673428fc (diff) | |
download | cbt-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
-rw-r--r-- | nailgun_launcher/NailgunLauncher.java | 6 |
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); } } |