Replaced print statement with log.debug() call.

This commit is contained in:
Sybren A. Stüvel 2016-05-17 11:43:16 +02:00
parent 6c1740de55
commit c686c11726

View File

@ -66,7 +66,7 @@ class ValidateCustomFields(Validator):
try: try:
value = self.convert_properties(value, node_type['dyn_schema']) value = self.convert_properties(value, node_type['dyn_schema'])
except Exception, e: except Exception, e:
print ("Error converting: {0}".format(e)) log.debug("Error converting form properties", exc_info=True)
v = Validator(node_type['dyn_schema']) v = Validator(node_type['dyn_schema'])
val = v.validate(value) val = v.validate(value)