add email_exception() calls throughout code.
[monitor.git] / findbadpcu.py
index b63a96a..7e84513 100755 (executable)
@@ -206,6 +206,8 @@ if __name__ == '__main__':
                time.sleep(1)
        except Exception, err:
                traceback.print_exc()
+               from monitor.common import email_exception
+               email_exception()
                print "Exception: %s" % err
                print "Saving data... exitting."
                sys.exit(0)