diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-24 16:15:14 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-24 16:15:14 +0000 |
commit | 6461b58504b85abc23b0839ad32ded3548b98fb5 (patch) | |
tree | b92fddbe9c9cd9ba711588b2422dc07f7811fcb2 /lib/custodian/alerts | |
parent | deb2a91a6d599adbea0cb60a9ede4666064442be (diff) |
Show the email address we'd notify
Diffstat (limited to 'lib/custodian/alerts')
-rw-r--r-- | lib/custodian/alerts/smtp.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |