[Zope3-dev] Re: Correction to RFC
Tres Seaver
tseaver at palladion.com
Sat Jan 28 18:07:49 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Theune wrote:
> On Fri, 2006-01-27 at 16:38 -0700, Shane Hathaway wrote:
>
>>It's checked in, but perhaps there is some other code that also needs to
>>use the custom traceback formatter. The conversion is trivial. Replace
>>this:
>>
>> from traceback import print_exception
>> print_exception(...)
>>
>>with this:
>>
>> from zope.exceptions.exceptionformatter import print_exception
>> print_exception(...)
>
>
> Thought so! I'm just not sure whether this is intended behaviour. What's
> the current policy about displaying tracebacks to the "end-user" in Zope
> 3?
The policy seems to be that the end user should *never* see the
traceback, unless she selects the '++skin++Debug' skin *and* the admin
configures inclusion of the 'zope.app.debug' package.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD2/lF+gerLs4ltQ4RAqVpAJ408lAfr/qAgr8RXHQufyCleNTZiQCeKWgX
OrpMsZSxywRiYDMGh77WjXM=
=EGCT
-----END PGP SIGNATURE-----
More information about the Zope3-dev
mailing list