Commit ebe023da authored by Vincent Pelletier's avatar Vincent Pelletier

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
parent 72d2191f
...@@ -37,7 +37,7 @@ from ZODB.POSException import ConflictError ...@@ -37,7 +37,7 @@ from ZODB.POSException import ConflictError
import datetime import datetime
from zLOG import LOG from zLOG import LOG
import sys
class BaobabConduit(ERP5Conduit): class BaobabConduit(ERP5Conduit):
...@@ -313,8 +313,8 @@ class BaobabConduit(ERP5Conduit): ...@@ -313,8 +313,8 @@ class BaobabConduit(ERP5Conduit):
, "expected %s parent object (%s) not found in %s" % ( source_portal_type , "expected %s parent object (%s) not found in %s" % ( source_portal_type
, construction_location , construction_location
, search_folder , search_folder
) ),
) error=sys.exc_info())
if parent_object == None: if parent_object == None:
LOG( 'BaobabConduit:' LOG( 'BaobabConduit:'
, 100 , 100
......
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