Saizan wrote:

> In an event-driven application i'd like to keep the program alive
> regardless of any exceptions raised by the handlers, but still be able to
> debug them by reading the appropriate TraceBack from stderr. I can put
> something like:

See 

sys.exc_info()

The you can do:

try:
   ....
except: # catch all
   _, e, tb = sys.exc_info()
   print tb


Regards,

Diez



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to