comparison app/models/.svn/text-base/mailer.rb.svn-base @ 246:eeebe205a056 cannam

* Merge from default branch, bringing us up to SVN trunk rev 4993
author Chris Cannam
date Thu, 03 Mar 2011 12:02:03 +0000
parents 0579821a129a
children cbce1fd3b1b7
comparison
equal deleted inserted replaced
138:fca2657f4aa5 246:eeebe205a056
294 return super(mail) 294 return super(mail)
295 rescue Exception => e 295 rescue Exception => e
296 if raise_errors 296 if raise_errors
297 raise e 297 raise e
298 elsif mylogger 298 elsif mylogger
299 mylogger.error "The following error occured while sending email notification: \"#{e.message}\". Check your configuration in config/email.yml." 299 mylogger.error "The following error occured while sending email notification: \"#{e.message}\". Check your configuration in config/configuration.yml."
300 end 300 end
301 ensure 301 ensure
302 self.class.raise_delivery_errors = raise_errors 302 self.class.raise_delivery_errors = raise_errors
303 end 303 end
304 end 304 end