# How to get notified about Ruby (Rack) errors in Rails 3

**URL:** <https://discuss.rubyonrails.org/t/how-to-get-notified-about-ruby-rack-errors-in-rails-3/64692>\
**Category:** rubyonrails-talk\
**Created:** [August 4, 2012, 7:36am UTC](https://discuss.rubyonrails.org/t/how-to-get-notified-about-ruby-rack-errors-in-rails-3/64692 "2012-08-04T07:36:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 4, 2012, 7:36am UTC](https://discuss.rubyonrails.org/t/how-to-get-notified-about-ruby-rack-errors-in-rails-3/64692/1 "2012-08-04T07:36:59Z")

</div>

On a Rails 3.2 production site I have ExceptionNotifier installed, which sends me mails when something goes wrong. But I have noticed that when the site genererates a "Ruby (Rack) application could not be started" error, I do not get notified. How/what do I configure in order to get notified by mail when this error occurs? Thanks

---

<div class="post-metadata">

**Author:** ![Frederick\_Cheung](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/frederick_cheung/32/3901_2.png) [@Frederick\_Cheung](https://discuss.rubyonrails.org/u/Frederick_Cheung)\
**Post date:** [August 4, 2012, 10:38am UTC](https://discuss.rubyonrails.org/t/how-to-get-notified-about-ruby-rack-errors-in-rails-3/64692/2 "2012-08-04T10:38:25Z")

</div>

As the message implies the app couldn’t be started, so the app isn’t in a position to tell you about the fact that it encountered an error.

You’ll need to use something external to the app. That could be something on your server (monit, nagios etc.) or something external that monitors your site’s availability (such as pingdom)

If the failure can be logged to rsyslog (I think passenger might be able to do this if it can’t start your app) then I believe rsyslog can be configured to email you.

Fred

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 4, 2012, 4:18pm UTC](https://discuss.rubyonrails.org/t/how-to-get-notified-about-ruby-rack-errors-in-rails-3/64692/3 "2012-08-04T16:18:58Z")

</div>

Hi Fred,

thanks for the suggestions. I will look into each of them and hopefully when of them will suite my needs. Thanks.

Nick
