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 | 19bdd1e961af97bdcd5f324b237946bdfdda0d9f (patch) | |
tree | b92fddbe9c9cd9ba711588b2422dc07f7811fcb2 /lib/custodian | |
parent | e93ef91dd711add857d40153cbd6293cf1a993be (diff) |
Show the email address we'd notify
Diffstat (limited to 'lib/custodian')
-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 |