[Rails] Re: How to get notified about Ruby (Rack) errors in Rails 3
On Saturday, August 4, 2012 8:36:59 AM UTC+1, Ruby-Forum.com User wrote:
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
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
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/24LKoci1TNkJ.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home