On Apr 18, 2005, at 20:51, Kirk Strauser wrote:

On Monday 18 April 2005 13:35, Jens Vagelpohl wrote:

I don't think that's possible. But you can test that very easily for
yourself by putting code inside the on-error that provokes an error.

I guess I should've prefaced my question by saying that I know on-error
normally ends propagation of the exception. I guess I was wondering if
there was some way to manually add the exception to an error_log object so
that i can come back later to analyze that logfile, while still presenting
a non-confusing error screen to my users.

There is a method named "raising" on the SiteErrorLog object but I don't see a way to call it from a PageTemplate itself because it seems to need the actual exception object as its argument.


jens

_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to