catch errors as well as exceptions

This commit is contained in:
Ben Fry
2015-06-16 07:16:32 -04:00
parent 083bc5ad31
commit df9faf3bc4

View File

@@ -150,10 +150,10 @@ public class Base {
public void run() {
try {
createAndShowGUI(args);
} catch (Exception e) {
} catch (Throwable t) {
showBadnessTrace("It was not meant to be",
"A serious problem happened during startup. Please report:\n" +
"http://github.com/processing/processing/issues/new", e, true);
"http://github.com/processing/processing/issues/new", t, true);
}
}
});