# Email errors to yourself or better alternative?

**URL:** <https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768>\
**Category:** Rails\
**Created:** [March 22, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768 "2007-03-22T17:05:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabe\_Lerner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@Gabe\_Lerner](https://www.ruby-forum.com/u/Gabe_Lerner)\
**Post date:** [March 22, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768/1 "2007-03-22T17:05:54Z")

</div>

I am about to go into production with my rails app and would like some  
sort of error monitoring. In my previous apps ([ASP.NET](http://ASP.NET)), I have just  
caught all errors globally, emailed them to myself, and redirected the  
user to a general error page. Is there a simple way of doing this in  
rails, or is there a better alternative?

Thanks,  
Gabe

---

<div class="post-metadata">

**Author:** ![Gabe\_Lerner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@Gabe\_Lerner](https://www.ruby-forum.com/u/Gabe_Lerner)\
**Post date:** [March 22, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768/2 "2007-03-22T17:09:56Z")

</div>

[http://agilewebdevelopment.com/plugins/exception\_notifier](http://agilewebdevelopment.com/plugins/exception_notifier)

–  
Building an e-commerce site with Rails?  
[http://agilewebdevelopment.com/rails-ecommerce](http://agilewebdevelopment.com/rails-ecommerce)

Meet up at RailsConf:  
[http://railsconf2007.conferencemeetup.com/](http://railsconf2007.conferencemeetup.com/)

---

<div class="post-metadata">

**Author:** ![Gabe\_Lerner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@Gabe\_Lerner](https://www.ruby-forum.com/u/Gabe_Lerner)\
**Post date:** [March 22, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768/3 "2007-03-22T17:12:56Z")

</div>

> I am about to go into production with my rails app and would like some  
> sort of error monitoring. In my previous apps ([ASP.NET](http://ASP.NET)), I have just  
> caught all errors globally, emailed them to myself, and redirected the  
> user to a general error page. Is there a simple way of doing this in  
> rails, or is there a better alternative?

There is.

email - [http://agilewebdevelopment.com/plugins/exception\_notifier](http://agilewebdevelopment.com/plugins/exception_notifier)  
web - [http://agilewebdevelopment.com/plugins/exception\_logger](http://agilewebdevelopment.com/plugins/exception_logger)  
sms - [http://agilewebdevelopment.com/plugins/exceptiontextable](http://agilewebdevelopment.com/plugins/exceptiontextable)

I’ve used the first one and it works great right up till you have an  
error  
on your homepage and your site gets hammered with traffic and you get  
15,000 emails 🙂

-philip
