[Zope-dev] Why does Zope move the Error Type and Value and
replace with (see above)
Shane Hathaway
shane@zope.com
Wed, 9 Oct 2002 10:08:48 -0400 (EDT)
On Wed, 9 Oct 2002, Chris Withers wrote:
> Shane, can you confirm this?
>
> cheers,
>
> Chris
I can confirm it has changed. Overall description here:
http://dev.zope.org/Wikis/DevSite/Proposals/BetterTracebacks
Shane
>
> Leonardo Rochael Almeida wrote:
> >>Now, normal python tracebacks include both the error type and error value. Why
> >>does Zope make this not happen?
> >
> > This code, which is inaccessible for TTW scripts but interferes with TTW
> > rendering nonetheless, is in lib/python/ZPublisher/HTTPResponse.py in 2
> > places around line 620. It blindly assumes the exception has already
> > been mentioned in the template and replaces the exception in the
> > traceback formatting routine with '(see above)'. It also bothers me no
> > end, but I believe (but haven't checked) that's all changed in Zope 2.6
> > with the new exception logging system.
>
>