Revision: 4264
          http://vexi.svn.sourceforge.net/vexi/?rev=4264&view=rev
Author:   mkpg2
Date:     2011-10-03 23:22:20 +0000 (Mon, 03 Oct 2011)
Log Message:
-----------
Temporary workaround. Log error instead of throwing. Hiding cause. Really 
source of error needs to be addressed.

Modified Paths:
--------------
    trunk/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java

Modified: trunk/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java
===================================================================
--- trunk/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java  
2011-10-03 22:43:00 UTC (rev 4263)
+++ trunk/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java  
2011-10-03 23:22:20 UTC (rev 4264)
@@ -242,7 +242,14 @@
     public void runAfterPut(JSExn e) throws JSExn {
         try {
             if (jsthread.currentInterpreter.f!=null) {
-                jsthread.currentInterpreter.run(e);
+                try{
+                    jsthread.currentInterpreter.run(e);
+                }catch(JSExn e2){
+                    throw e2;
+                }catch(Exception t){
+                    logger.error(Scheduler.class, "Error, running after put: 
"+t);
+                    // if strict ... throw
+                }
             } else {
                 if (e!=null) {
                     throw e;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to