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);