[rhmessaging-commits] rhmessaging commits: r4270 - mgmt/newdata/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Sep 9 16:24:52 EDT 2010


Author: eallen
Date: 2010-09-09 16:24:51 -0400 (Thu, 09 Sep 2010)
New Revision: 4270

Modified:
   mgmt/newdata/cumin/python/cumin/model.py
Log:
Pass any exception back in the object store return 

Modified: mgmt/newdata/cumin/python/cumin/model.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/model.py	2010-09-09 19:08:08 UTC (rev 4269)
+++ mgmt/newdata/cumin/python/cumin/model.py	2010-09-09 20:24:51 UTC (rev 4270)
@@ -1900,6 +1900,7 @@
         self.model = model
         self.data = None
         self.status = None
+        self.exception = None
 
         self.update_thread = self.UpdateThread(self)
 
@@ -1927,8 +1928,10 @@
                 for i in range(20):
                     try:
                         self.store.update(cursor)
+                        self.store.exception = None
                     except Exception, e:
                         log.exception(e)
+                        self.store.exception = e
 
                     sleep(30)
             finally:



More information about the rhmessaging-commits mailing list