2003/12/25 08:52:13
[org.ibex.core.git] / src / org / xwt / Scheduler.java
index 55be6df..ce59d1e 100644 (file)
@@ -59,7 +59,7 @@ public class Scheduler {
                 if (runnable.size() == 0 && Surface.needRender) Surface.renderAll.perform();
             } catch (JSExn e) {
                 Log.log(Scheduler.class, "a JavaScript thread spawned with xwt.thread() threw an exception:");
-                Log.log(Scheduler.class, e.toString());
+                Log.log(Scheduler.class, e);
             } catch (Exception e) {
                 Log.log(Scheduler.class, "a Task threw an exception which was caught by the scheduler:");
                 Log.log(Scheduler.class, e);