Commit eccd555d authored by Kevin Deldycke's avatar Kevin Deldycke

More verbose log messages


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4532 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f54480d5
...@@ -196,17 +196,20 @@ class BaobabConduit(ERP5Conduit): ...@@ -196,17 +196,20 @@ class BaobabConduit(ERP5Conduit):
except: except:
LOG( 'BaobabConduit:' LOG( 'BaobabConduit:'
, 0 , 0
, "'%s' parent object not found in %s" % (source_portal_type, search_folder) , "expected %s parent object (%s) not found in %s" % ( source_portal_type
, construction_location
, search_folder
)
) )
if parent_object == None: if parent_object == None:
LOG( 'BaobabConduit:' LOG( 'BaobabConduit:'
, 100 , 100
, "'%s' parent object not found !" % (source_portal_type) , "expected %s parent object (%s) not found !" % (source_portal_type, construction_location)
) )
else: else:
LOG( 'BaobabConduit:' LOG( 'BaobabConduit:'
, 0 , 0
, "'%s' parent object found at %s" % (source_portal_type, repr(parent_object)) , "%s parent object found at %s" % (source_portal_type, parent_object_path)
) )
return parent_object return parent_object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment