[Tutor] Script performance: Filtering email

Sheila King sheila@thinkspot.net
Tue, 16 Jan 2001 21:01:10 -0800

On Tue, 16 Jan 2001 10:51:54 +0100, Remco Gerlich <scarblac@pino.selwerd.nl>
wrote about Re: [Tutor] Script performance: Filtering email:

:Maybe you should wrap the whole thing in a try/except to log whatever
:goes wrong, like
:   (the body of your script)
:   import sys
:   f=open("somelogfile","w")
:   print >> f, sys.exc_info()
:   f.close()
:   raise # Re-raise the exception so that the program doesn't quit silently

Would someone please explain the last line above about re-raising the
exception? I don't understand what that does.

Sheila King