X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2FScheduler.java;h=9b3950924545fa6f6cad424e071e974f8926feaa;hb=99d79f177824a7a75a19da16b08bdc016a2316b6;hp=ec8253cebbc0a2d4538fe588c3aa8f2f9592c384;hpb=ccf0715e9a34f491fa2c52f5f1ba90fd371b7c51;p=org.ibex.core.git diff --git a/src/org/ibex/Scheduler.java b/src/org/ibex/Scheduler.java index ec8253c..9b39509 100644 --- a/src/org/ibex/Scheduler.java +++ b/src/org/ibex/Scheduler.java @@ -79,11 +79,12 @@ public class Scheduler { renderAll(); } catch (JSExn e) { Log.info(Scheduler.class, "a JavaScript thread spawned with ibex.thread() threw an exception:"); - Log.info(Scheduler.class, "JS Exception: " + e.getObject() + "\n" + e.backtrace()); Log.info(Scheduler.class,e); } catch (Exception e) { Log.info(Scheduler.class, "a Task threw an exception which was caught by the scheduler:"); Log.info(Scheduler.class, e); + } catch (Throwable t) { + t.printStackTrace(); } // if an Error is thrown it will cause the engine to quit }