mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 02:45:36 +01:00
catch errors as well as exceptions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user