Commit 594393d2 authored by Jérome Perrin's avatar Jérome Perrin

display the corresponding traceback when calling an argument for a

catalog method fail.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27865 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1272cd36
......@@ -1467,6 +1467,8 @@ class Catalog(Folder,
except ConflictError:
raise
except:
LOG('SQLCatalog', WARNING, 'Failed to call method %s on %s' %
(arg, object), error=sys.exc_info())
value = None
if not disable_cache:
argument_cache[(object.uid, arg)] = value
......
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