[Zope] How to eliminate the traceback in the error message screen?

Tino Wildenhain tino@wildenhain.de
Tue, 03 Jul 2001 13:58:39 +0200


Hi Chris,

I think this problem is since the early stages in the
collector :-) Even worser, this appended comment
breaks all HTML (and WML or whatever).

There was a patch on the mailinglist long long time ago.
Unfortunately I was to lazy to catch it. So if someone
manages to find it again or find the piece of code where
it has to be applied... we should really fix this now :-)

Regards
Tino
--On Sonntag, 1. Juli 2001 14:46 +0100 Chris Withers <chrisw@nipltd.com> 
wrote:

> Robert Rottermann wrote:
>>
>> The traceback only shows up when Zope is started in debug mode. Which is
>> done by using the -D flag on the command line.
>
> Half true, it puts it in an HTML comment in production mode.
>
> What I don't understand is why it needs to do this. Why not just put the
> traceback code in standard_error_message and then the user can decide
> whether or not they want it to be displayed.
>
> For example, I'd only like people with the Manager role to see this stuff.
>
> cheers,
>
> Chris
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )