git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add email_exception() calls throughout code.
[monitor.git]
/
findbadpcu.py
diff --git
a/findbadpcu.py
b/findbadpcu.py
index
b63a96a
..
7e84513
100755
(executable)
--- a/
findbadpcu.py
+++ b/
findbadpcu.py
@@
-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)