Exception Notifier help

Hi,

I am not able to get this working. I did everything that was given in
readme:

  1. Included exception notifiable in App controller - include
    ExceptionNotifiable
  2. Addded receiving email IDs in environment.rb -
    ExceptionNotifier.exception_recipients = %w([email protected] )
  3. Added local address clear in App controller. –
    local_addresses.clear
  4. Mailing infrastructure is ready too - I am already using this for
    Auth notification

Now when i tried to test it, by introducing errors myself, unknown
action, it doesn’t send me any mail. Am i being something very basic
here?

Regards,
Sandeep G

there are some errors that are counted as 404 for which (if you look in
…vendor/plugins/exception_notifier/lib/* files) no email will be sent.
maybe, try creating ruby syntax errors, rather than bad id’s or routing
errors, or count_as_404 errors which an email won’t be sent for.

just a guess. could be something else, though.

Sandeep G. wrote:

Hi,

I am not able to get this working. I did everything that was given in
readme:

  1. Included exception notifiable in App controller - include
    ExceptionNotifiable
  2. Addded receiving email IDs in environment.rb -
    ExceptionNotifier.exception_recipients = %w([email protected] )
  3. Added local address clear in App controller. –
    local_addresses.clear
  4. Mailing infrastructure is ready too - I am already using this for
    Auth notification

Now when i tried to test it, by introducing errors myself, unknown
action, it doesn’t send me any mail. Am i being something very basic
here?

Regards,
Sandeep G

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs