Commit 0cd35ba3 authored by Nicolas Dumazet's avatar Nicolas Dumazet

this log is required if you want useful logs, please leave it.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40829 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0555eb0b
......@@ -202,6 +202,7 @@ class PortalTypeMetaClass(GhostBaseMetaClass):
try:
class_definition = generatePortalTypeClass(portal_type)
except AttributeError:
import traceback; traceback.print_exc()
LOG("ERP5Type.Dynamic", WARNING,
"Could not access Portal Type Object for type %r"
% portal_type, error=sys.exc_info())
......
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