[Modeling-cvs] ProjectModeling/Modeling ObjectStoreCoordinator.py,1.10,1.11
Status: Abandoned
Brought to you by:
sbigaret
|
From: <sbi...@us...> - 2003-07-18 10:37:44
|
Update of /cvsroot/modeling/ProjectModeling/Modeling
In directory sc8-pr-cvs1:/tmp/cvs-serv18071
Modified Files:
ObjectStoreCoordinator.py
Log Message:
enabled warning for exception before swallowing it
Index: ObjectStoreCoordinator.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ObjectStoreCoordinator.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ObjectStoreCoordinator.py 16 Jul 2003 19:16:00 -0000 1.10
--- ObjectStoreCoordinator.py 18 Jul 2003 10:37:41 -0000 1.11
***************
*** 548,556 ****
except:
warn("Got an exception: rollback changes")
! #if 1: # __TBD if DEBUG (somehow)
! # exc=StringIO.StringIO()
! # traceback.print_exc(file=exc)
! # debug(exc.getvalue())
! # del exc
exctype, value = sys.exc_info()[:2]
--- 548,556 ----
except:
warn("Got an exception: rollback changes")
! if 1: # __TBD if DEBUG (somehow)
! exc=StringIO.StringIO()
! traceback.print_exc(file=exc)
! warn(exc.getvalue())
! del exc
exctype, value = sys.exc_info()[:2]
|