[Zope-dev] Why does Zope move the Error Type and Value and replace
with (see above)
Chris Withers
chrisw@nipltd.com
Wed, 09 Oct 2002 12:38:59 +0100
Shane, can you confirm this?
cheers,
Chris
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.