Email notifications of exceptions happening in a Python app?

Posted by ming yeow on Stack Overflow See other posts from Stack Overflow or by ming yeow
Published on 2010-05-29T01:27:10Z Indexed on 2010/05/29 1:32 UTC
Read the original article Hit count: 274

Hi folks, I want to set up email notifications when there is an error happening in my application. In ruby, there is a very elegant solution called ExceptionNotifier, which wraps around the exception handler and uses the built-in mailer to send an email.

What is the best way of doing this in Python? I know that this is a very common issue, so would love for any tips that you folks can share!

PS: Code samples, pointers to modules would be AWESOME! Thanks!

© Stack Overflow or respective owner

Related posts about python

Related posts about debugging