X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=showlatlon.py;h=2176462319519b45b5fa7dc156b7dcf39ec926dd;hb=40588e1f900ba82db3ca69c5cc375805028f2430;hp=951802ad15eef0975a3bb6a69685bf8462a8bdc1;hpb=4d56ef5473c6486c321dd2797be45b45b0606dae;p=monitor.git diff --git a/showlatlon.py b/showlatlon.py index 951802a..2176462 100755 --- a/showlatlon.py +++ b/showlatlon.py @@ -9,7 +9,7 @@ from datetime import datetime, timedelta import database import comon -from monitor.common import color_pcu_state, datetime_fromstr +from monitor.common import color_pcu_state, datetime_fromstr, email_exception from nodehistory import get_filefromglob import time import traceback @@ -211,3 +211,5 @@ if __name__ == "__main__": main() except IOError: pass + except: + email_exception()