Commit eb4f0d87 authored by Sebastien Robin's avatar Sebastien Robin

improve log message


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22e062bf
......@@ -14,6 +14,7 @@
import string
import Acquisition
import sys
from zLOG import LOG
......@@ -64,7 +65,7 @@ class ZSQLBrain(Acquisition.Implicit):
obj = self.aq_parent.portal_catalog.resolve_url(self.getPath(), REQUEST)
return obj
except:
LOG("ZCatalog WARNING",0,"Could not access object path %s" % self.getPath() )
LOG("ZCatalog WARNING",0,"Could not access object path %s" % self.getPath(), error=sys.exc_info() )
return None
def absolute_url(self):
......
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