[z3-five] Five.traversable masking errors in views
Chris Withers
chris at simplistix.co.uk
Thu Nov 30 11:11:42 CET 2006
Alec Mitchell wrote:
> It's probably a good idea to fix this by saving the original exception
> and raising it later if necessary. Even better would be if we could
> discriminate between those attribute errors which are due to lookup
> failures, and those that are de to code bugs, and raise the latter
> immediately. Any ideas?
Well, LookupError is explicitly caught.
Can whoever wrote that code explain the legitimate reasons for catching
AttributeErrors and the like?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the z3-five
mailing list