On Sep 18, 6:50 pm, jthaddeus <[email protected]> wrote:
> Newbie here. What is the best practice for implementing error
> reporting in a Rails application. I have an example that uses
> ActiveRecord::Base.logger.error. Are there any risks with this or
> recommendations on other implementations?
>
There's nothing wrong with just logging errors, but in less you are
really extremely diligent about monitoring your log files for errors,
you're not going to notice problems until a user tells you or they
snowball into bigger errors. Some 3rd party solutions include
exceptional (www.getexceptional.com/) or airbrake
(www.airbrakeapp.com) or the exception notifier plugin (https://
github.com/smartinez87/exception_notification). You can also roll your
own by overwriting the rescue_action_in_public method

Fred

-- 
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