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:
– Sincerely,
William P.
…err…re"raise" it to be more rubyish
William P. wrote:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.