开发者

Rails 3 Sending errors to email

How do I hijack Rails (3) error开发者_高级运维 handling to email errors with full trace to me?


Exception Notifier Plugin for Rails https://github.com/smartinez87/exception_notification


Have your considered HopToad?

UPDATE: HopToad is now known as Airbrake


Haven't done it myself yet, but you should be able to use the log4r gem and substitute that for the stock rails logger. This can be done in environment.rb, see for example this blog post.

Then you would instruct log4r to send emails on errors, see documentation


  • Hoptoad: http://hoptoadapp.com/pages/home
  • ErrorApp: http://errorapp.com/
  • ExceptionNotifier: https://github.com/smartinez87/exception_notification
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜