diff options
author | Håkon Hallingstad <hakon@oath.com> | 2017-12-08 10:06:11 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2017-12-08 10:06:11 +0100 |
commit | 9f63b8f38b2fee69c5c9be4f9f06a9ec8afa2454 (patch) | |
tree | b8c3adae20c75ca666b7a04ca8d9f6919f9f9f57 /jdisc_core | |
parent | ed0b3edafaaeb707fb8a8603c332488937c19d68 (diff) |
Error should also exit JDisc container
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java index cd52a724275..a78e4f1af40 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java @@ -47,7 +47,7 @@ public class StandaloneMain { loader.destroy(); System.out.println("debug\tStopped ok."); System.exit(0); - } catch (Exception e) { + } catch (Throwable e) { System.out.print("debug\tUnexpected: "); e.printStackTrace(); log.log(Level.SEVERE, "Unexpected: ", e); |