Class: BackgroundLite::ExceptionNotificationErrorReporter
- Defined in:
- lib/background_lite/core_ext/error_reporters/exception_notification_error_reporter.rb
Overview
Notifies developers about errors per e-mail.
Class Method Summary collapse
-
.report(error) ⇒ Object
This method uses the exception notification plugin to deliver the exception together with a backtrace to the developers.
Class Method Details
.report(error) ⇒ Object
This method uses the exception notification plugin to deliver the exception together with a backtrace to the developers. Refer to the ExceptionNotification documentation for details.
43 44 45 |
# File 'lib/background_lite/core_ext/error_reporters/exception_notification_error_reporter.rb', line 43 def self.report(error) ExceptionNotifier.deliver_exception_notification(error, MockController.new, MockRequest.new(error.), {}) end |