I'm seeing a similar problem, which started happening around the time
we upgraded to Rails 2.3.

Have you tried logging into the console, and doing...

>> ExceptionNotifier.exception_recipients
=> []

That is what mine looks like.  I.e., the recipients are gone.
However, I fixed this by changing my configuration (for example, in
production.rb) to this...

config.after_initialize do
  ExceptionNotifier.exception_recipients = %w([email protected])
  ExceptionNotifier.sender_address = %("Application Error"
<[email protected]>)
end

I suspect that there is a better way to do this, specifically using
rails initializers.  However, it's late on a Friday, and this fix will
do until after railsconf (it's bad enough pushing this change out to
production on Friday afternoon ;)).

I hope that helps.
Darren

On May 1, 8:12 am, fausto <[email protected]> wrote:
> On 1 Mag, 02:23, Andrew Bloom <[email protected]> wrote:
>
> > Very strange. Have you checked postfix at all? I use ExceptionNotifier
> > in 2.3 with no problems at all.
>
> yep, there nothing in the log, as rails never pass it to send the mail
> at the moment of the error (a simple find with a wrong id which thrown
> an exception not catched), neither in the production.log (i don't know
> if the plugin notify in the log when it send an email, btw there is
> nothing). Other emails works without problem both from the website and
> directly from the console
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to