Commit a357004a authored by Jonathan Michalon's avatar Jonathan Michalon

Remove problem information in recovery mail as it isn't available anymore

parent 76236cc4
......@@ -21,10 +21,9 @@ def send_email_for_check(check):
dest=check.target_name))
msg_text = ''
if check.ok:
msg_text = "FYI last error for this check was:\n"
msg_text += ("Check %s failed:\n%s" %
(str(check), check.errmsg.strip()))
if not check.ok:
msg_text += ("Check %s failed:\n%s" %
(str(check), check.errmsg.strip()))
# encode / decode is a fix that didn't make it into Debian Wheezy
# http://bugs.python.org/issue16948
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment