[Zope] Stopping tracebacks from appearing in HTML output

Danny William Adair Danny@Adair.net
Thu, 18 May 2000 11:52:33 +0200


-----Ursprungliche Nachricht-----
Von: Danny William Adair [mailto:Danny@Adair.net]
Gesendet: Donnerstag, 18. Mai 2000 11:45
An: David Trudgett
Betreff: Re: [Zope] Stopping tracebacks from appearing in HTML output


Is dparker's tip not up-to-date anymore? (See Tips Collection)

dparker brings us this tip:
To turn off automatic generation of tracebacks, set the OS environment
variable BOBO_DEBUG_MODE=0

I haven't tried it though.

Danny Adair

-----Ursprungliche Nachricht-----
Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von
David Trudgett
Gesendet: Freitag, 19. Mai 2000 05:13
An: zope@zope.org
Betreff: [Zope] Stopping tracebacks from appearing in HTML output


My boss is the paranoid type, and doesn't want Python traceback information
being spat out in the event of an error (such as a NotFound error). I've
customised the standard_error_message, but the traceback is still appended
(albeit after the </html> tag).

Is there any way to stop this behaviour?

David Trudgett


_______________________________________________
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 )