Re: [Rails] Re: Best Practices in Error Reporting
> On Sep 18, 6:50 pm, jthaddeus <jtcamb...@gmail.com> 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
You can also use airbrake's gem with your own web UI via https://github.com/errbit/errbit
-philip
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home