Getting the Traceback ?

Matthias Barmeier barmeier at barmeier.com
Fri Mar 24 05:41:25 EST 2000


Hi,

I have implemented a small nice mail server (pop3/smtp) in python.
Now I encounter the following problem:

	I dont want the mailserver stopping when an exception occurs 
	but I would like to log the TraceBack.
	Now I have a try statement at the beginning and en except 
	statement at the end of my mail server code.
	Thats fine for logging all failures but I cannot see whats 
	wrong.

The Question:
	Is it possible to get the trace back message and the error 
	message displayed by the default exception handler ?


Ciao
	Matze



More information about the Python-list mailing list