From ebe023da5cf419b8a6d9457b773bb7e1a538b26a Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Tue, 16 Dec 2008 16:24:24 +0000 Subject: [PATCH] Output exception traceback when parent cannot be reached. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24910 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5SyncML/Conduit/BaobabConduit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5SyncML/Conduit/BaobabConduit.py b/product/ERP5SyncML/Conduit/BaobabConduit.py index a4e9f51aba..c719890238 100644 --- a/product/ERP5SyncML/Conduit/BaobabConduit.py +++ b/product/ERP5SyncML/Conduit/BaobabConduit.py @@ -37,7 +37,7 @@ from ZODB.POSException import ConflictError import datetime from zLOG import LOG - +import sys class BaobabConduit(ERP5Conduit): @@ -313,8 +313,8 @@ class BaobabConduit(ERP5Conduit): , "expected %s parent object (%s) not found in %s" % ( source_portal_type , construction_location , search_folder - ) - ) + ), + error=sys.exc_info()) if parent_object == None: LOG( 'BaobabConduit:' , 100 -- 2.30.9