Unusual Exception Behaviour

Robert Rawlins robert.rawlins at thinkbluemedia.co.uk
Thu Jul 17 18:01:46 CEST 2008


Hi Mk,

> Why not capture exceptions themselves to a log file?
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466332

Thanks for the reply mate, I appreciate you getting back to me so quickly.

I certainly like that implementation for logging the exceptions, however, at
the moment I don't even know where the exceptions are occurring, or what
type they are, could I still use this method to log any and all exceptions
raised in the application? I'm a little confused as to how I can modify that
implementation to do so.

Robert




More information about the Python-list mailing list