[Zope] catching BadRequest exceptions

Palermo, Tom TPalermo at constellagroup.com
Fri Mar 3 13:56:51 EST 2006


All,
 
It seems that BadRequest exceptions, like the ones thrown by checkValidId()
in OFS.ObjectManager (lib/python/OFS/ObjectManager.py), are not handled by a
standard_error_message. That is, I can't skin the error message so it looks
friendly and doesn't show a traceback. Does anyone know where the code that
generates the error message for these exceptions is kept? Is there a way to
make these exceptions get handled via standard_error_message?
 
Thanks,
Tom Palermo
Senior Web Developer
Constella Group, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060303/c2eb03a5/attachment.htm


More information about the Zope mailing list