File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,18 @@ application. The plugin is configurable, allowing programmers to specify:
1212The email includes information about the current request, session, and
1313environment, and also gives a backtrace of the exception.
1414
15- Usage
15+ Installation
1616---
1717
18- As of Rails 3 ExceptionNotifier is used as a rack middleware
18+ You can use the latest ExceptionNotification gem with Rails 3, by adding
19+ the following line in your Gemfile
20+
21+ gem 'exception_notification', :require => 'exception_notifier'
22+
23+ As of Rails 3 ExceptionNotification is used as a rack middleware, so you can
24+ configure its options on your config.ru file, or in the environment you
25+ want it to run. In most cases you would want ExceptionNotification to
26+ run on production. You can make it work by
1927
2028 Whatever::Application.config.middleware.use ExceptionNotifier,
2129 :email_prefix => "[Whatever] ",
You can’t perform that action at this time.
0 commit comments