"Pushing" errors to ExceptionNotifier plugin

All,

I’m using ExceptionNotifier to send me emails of unexpected errors in my
production app.

But I’d like to “push” certain exceptions which I’ve caught but would
still like to get an ExceptionNotifier type email for.

Is there a way for me to explicitly “push” a caught exception to
ExceptionNotifier?

Thanks,
Wes

There may be another way, but I believe you will have to rethrow the
exception, then override rescue_action_in_public in application.rb to do
what you want after the notification is sent.

Wes G. wrote:

Thanks,
Wes


Sincerely,

William P.

…err…re"raise" it to be more rubyish :slight_smile:

William P. wrote:


Sincerely,

William P.

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