Commit 3bd8a171797b960f733bc26d8630ae682c1472fc
1 parent
08b6c881
Exists in
master
and in
1 other branch
add ERRORS_EMAIL back in for cron errors
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
config/initializers/mail.rb
lib/tasks/test_api.rake
... | ... | @@ -336,7 +336,7 @@ namespace :test_api do |
336 | 336 | if errors.empty? |
337 | 337 | CronMailer.deliver_info_message(CRON_EMAIL, "Test of API Vote Consistency passed", email_text) |
338 | 338 | else |
339 | - CronMailer.deliver_info_message(CRON_EMAIL, "Error! Failure of API Vote Consistency " , email_text) | |
339 | + CronMailer.deliver_info_message(CRON_EMAIL.to_a + ERRORS_EMAIL.to_a, "Error! Failure of API Vote Consistency " , email_text) | |
340 | 340 | end |
341 | 341 | |
342 | 342 | end | ... | ... |