Catch occasional exceptions - curses
Thomas Lindgaard
thomas at it-snedkeren.BLACK_HOLE.dk
Thu Jul 29 17:22:58 EDT 2004
On Wed, 28 Jul 2004 18:37:31 -0400, Peter Hansen wrote:
> try:
> #
> except:
> traceback.print_exc(sys.exc_info())
>
> Variations on that using other functions in the traceback
> module are easy...
OK - I've wrapped most of my main function and run the crawler... but it
hasn't thrown an exception yet, so I don't know if it does the job. But
thanks :)
--
Regards
/Thomas
More information about the Python-list
mailing list