[Zope] Error trap in python script

Dieter Maurer dieter@handshake.de
Mon, 25 Nov 2002 19:16:55 +0100


drew nichols writes:
 > Is there a built in handle for exception type and value in python 
 > scripts (as in DTML)??
Unfortunately, it is difficult to access the exception information
in Python Scripts:

  One has forgotten to provide the necessary security declarations
  in the standard Python exception classes and the essential
  function "sys.exc_info".
  
You may fix these omissions when you have write access to
Zope's "Products" folder. Please read the "Readme" tab
of the "Python Scripts" product.


Dieter