From eccd555df6d3c69608d42bcc92665708b0f38eb4 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Wed, 7 Dec 2005 14:51:18 +0000 Subject: [PATCH] More verbose log messages git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4532 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5SyncML/Conduit/BaobabConduit.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/product/ERP5SyncML/Conduit/BaobabConduit.py b/product/ERP5SyncML/Conduit/BaobabConduit.py index dd0150c514..4ccc311a08 100755 --- a/product/ERP5SyncML/Conduit/BaobabConduit.py +++ b/product/ERP5SyncML/Conduit/BaobabConduit.py @@ -196,17 +196,20 @@ class BaobabConduit(ERP5Conduit): except: LOG( 'BaobabConduit:' , 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: LOG( 'BaobabConduit:' , 100 - , "'%s' parent object not found !" % (source_portal_type) + , "expected %s parent object (%s) not found !" % (source_portal_type, construction_location) ) else: LOG( 'BaobabConduit:' , 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 -- 2.30.9