Sometimes in production, some piece of code with a specific input might break with a 500 error. How can I configure Rails 3 to automatically send the traceback to an email when there’s a 500 error?
Sometimes in production, some piece of code with a specific input might break with
Share
Check out ExceptionNotification. That’s exactly what it was designed for.
And if you want even better visibility I would suggest you set up an Error Catcher. It’s basically the upgraded version of ExceptionNotifier. Airbrake works well but I prefer the open source equivalent Errbit. https://github.com/errbit/errbit