Module: ErrorappNotifier::Integration
- Defined in:
- lib/errorapp_notifier/notifiers/tester.rb
Defined Under Namespace
Classes: OmgTestException
Class Method Summary collapse
Class Method Details
.test ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/errorapp_notifier/notifiers/tester.rb', line 6 def self.test begin raise OmgTestException.new, 'Test exception' rescue Exception => e ErrorappNotifier::Notifier.notify_error( ErrorappNotifier::FailureData.new(e, "Test Exception") ) end end |