Rails 3 Sending errors to email

前端 未结 4 1324
我在风中等你
我在风中等你 2021-01-13 21:26

How do I hijack Rails (3) error handling to email errors with full trace to me?

相关标签:
4条回答
  • 2021-01-13 21:59
    • Hoptoad: http://hoptoadapp.com/pages/home
    • ErrorApp: http://errorapp.com/
    • ExceptionNotifier: https://github.com/smartinez87/exception_notification
    0 讨论(0)
  • 2021-01-13 22:03

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

    0 讨论(0)
  • 2021-01-13 22:07

    Have your considered HopToad?

    UPDATE: HopToad is now known as Airbrake

    0 讨论(0)
  • 2021-01-13 22:11

    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

    0 讨论(0)
提交回复
热议问题