Best Way to Handle All Exceptions

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Jul 14 13:50:34 CEST 2009


In message <d82cea0b-3327-4a27-
b300-08975f7c0606 at p28g2000vbn.googlegroups.com>, seldan24 wrote:

> For this particular script, all exceptions are fatal
> and I would want them to be.  I just wanted a way to catch them and
> log them prior to program termination.

You don't need to. They will be written to standard error anyway.




More information about the Python-list mailing list