changed error to warning to prevent stderr spewing
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Feb 2008 21:04:19 +0000 (21:04 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Feb 2008 21:04:19 +0000 (21:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8835 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/python/oils/utils/idl.py

index 53273e4..0ec0f0a 100644 (file)
@@ -152,7 +152,7 @@ class IDLParser(object):
             try:
                 keys[obj.position] = obj.name
             except Exception, e:
-                osrf.log.log_error("parse_fields(): position out of range.  pos=%d : key-size=%d" % (obj.position, len(keys)))
+                osrf.log.log_warn("parse_fields(): position out of range.  pos=%d : key-size=%d" % (obj.position, len(keys)))
                 raise e
 
             idlobj.fields.append(obj)