From 6461b58504b85abc23b0839ad32ded3548b98fb5 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 24 Nov 2012 16:15:14 +0000 Subject: Show the email address we'd notify --- lib/custodian/alerts/smtp.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/custodian/alerts/smtp.rb b/lib/custodian/alerts/smtp.rb index a9828f3..0803bb3 100644 --- a/lib/custodian/alerts/smtp.rb +++ b/lib/custodian/alerts/smtp.rb @@ -30,6 +30,7 @@ module Custodian def raise puts "Sould raise an alert via EMAIL" puts "Subject: #{test.target} failed #{test.get_type}-test - #{test.error()}" + puts "TO: #{@target}" end @@ -38,6 +39,7 @@ module Custodian def clear puts "Should clear an alert via EMAIL" puts "Subject: #{test.target} passed #{test.get_type}-test" + puts "TO: #{@target}" end -- cgit v1.2.1