[open-ils-commits] r8322 - trunk/Open-ILS/src/python/oils/utils

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 4 17:36:32 EST 2008


Author: erickson
Date: 2008-01-04 17:12:38 -0500 (Fri, 04 Jan 2008)
New Revision: 8322

Modified:
   trunk/Open-ILS/src/python/oils/utils/idl.py
Log:
logging error for now instead of throwing exception

Modified: trunk/Open-ILS/src/python/oils/utils/idl.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/idl.py	2008-01-04 21:26:47 UTC (rev 8321)
+++ trunk/Open-ILS/src/python/oils/utils/idl.py	2008-01-04 22:12:38 UTC (rev 8322)
@@ -164,8 +164,8 @@
             return [f for f in self.fields if f.name == field_name][0]
         except:
             msg = "No field '%s' in IDL class '%s'" % (field_name, self.name)
-            #osrf.log.log_error(msg)
-            raise IDLException(msg)
+            osrf.log.log_error(msg)
+            #raise IDLException(msg)
 
 class IDLField(object):
     def __init__(self, idl_class, **kwargs):



More information about the open-ils-commits mailing list