Logging Stacktrace To File
Jorge Godoy
godoy at ieee.org
Tue Apr 13 07:33:54 EDT 2004
On Ter 13 Abr 2004 08:15, Olaf Meding wrote:
> In case of an exception, how could I log an exception to a file on disk?
I think you'll have to catch the exception and then log it to the file.
After that, you should raise the exception again.
But I think that if any other part of the program deals with such an
exception before you do, then you might miss it.
--
Godoy. <godoy at ieee.org>
More information about the Python-list
mailing list