Sha256: 8029eeb00166613091d62b7970e23723c70a9a7d190e59baf84bcb071e008a87
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
class Delayed::Mailer < ActionMailer::Base def exception_notification(job,error,emails) recipients emails from Conf.exception_notification['sender_address'] subject "* [JOB] #{job.name}(#{job.id}) failed on #{`hostname`} in #{Rails.root}" body "* [JOB] #{job.name}(#{job.id}) failed with #{error.class.name}: #{error.message} - #{job.attempts} failed attempts\n #{error.backtrace.join("\n ")}" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mail_manager-3.0.0 | lib/delayed/mailer.rb |
mail_manager-0.1.4 | lib/delayed/mailer.rb |
mail_manager-0.1.2 | lib/delayed/mailer.rb |
mail_manager-0.1.1 | lib/delayed/mailer.rb |