module ErrorappNotifier::Integration

Public Class Methods

test() click to toggle source
# 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