From df9faf3bc47b123216a5ca7c6a730302dee6fab9 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 16 Jun 2015 07:16:32 -0400 Subject: [PATCH] catch errors as well as exceptions --- app/src/processing/app/Base.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index f8380c0f3..30c7f3cc3 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -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); } } });