Remove System#exit call from BitsquareApp#stop

Calling System#exit short-circuits normal error reporting, meaning that
when an exception is called within the scope of executing the
Application's #start method, the message

    Exception in Application start method

is printed to the console, but without a stack trace. Removing the
System#exit call allows JavaFX's LauncherImpl to continue processing the
exception, ultimately printing out the stack trace as expected.
This commit is contained in:
Chris Beams 2014-11-25 09:52:33 +01:00
parent 380e8baf58
commit fe667bc1b2
No known key found for this signature in database
GPG key ID: 3D214F8F5BC5ED73

View file

@ -148,7 +148,6 @@ public class BitsquareApp extends Application {
@Override
public void stop() {
bitsquareAppModule.close(injector);
System.exit(0);
}