Commit b7b4a1fa authored by yannick legoc's avatar yannick legoc

Set exitCode=-1 in case of unexpected exception

parent ad4a95b2
...@@ -192,6 +192,7 @@ public class MainWindow implements ServerConfigurationChangeListener, ServerEnde ...@@ -192,6 +192,7 @@ public class MainWindow implements ServerConfigurationChangeListener, ServerEnde
} catch (Throwable e) { } catch (Throwable e) {
System.err.println("Unexpected exception"); System.err.println("Unexpected exception");
e.printStackTrace(); e.printStackTrace();
exitCode = -1;
} finally { } finally {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment