Module: ExceptionNotification
- Defined in:
- lib/exception_notification/rails.rb,
lib/exception_notification.rb,
lib/exception_notification/rack.rb,
lib/exception_notification/rake.rb,
lib/exception_notification/resque.rb,
lib/exception_notification/version.rb,
lib/exception_notification/rails/runner_tie.rb,
lib/generators/exception_notification/install_generator.rb
Overview
Warning: This must be required after rails but before initializers have been run. If you require it from config/initializers/exception_notification.rb, then the rails and rake_task callbacks registered here will have no effect, because Rails will have already invoked all registered rails and rake_tasks handlers.
Defined Under Namespace
Modules: Generators, Rails, RakeTaskExtensions Classes: Engine, Rack, Resque
Constant Summary collapse
- VERSION =
"5.0.1"
Class Method Summary collapse
-
.configure {|ExceptionNotifier| ... } ⇒ Object
Alternative way to setup ExceptionNotification.
Class Method Details
.configure {|ExceptionNotifier| ... } ⇒ Object
Alternative way to setup ExceptionNotification. Run ‘rails generate exception_notification:install’ to create a fresh initializer with all configuration values.
11 12 13 |
# File 'lib/exception_notification.rb', line 11 def self.configure yield ExceptionNotifier end |