Class: ConeyIsland::Notifiers::AirbrakeNotifier

Inherits:
BaseNotifier
  • Object
show all
Defined in:
lib/coney_island/notifiers/airbrake_notifier.rb

Class Method Summary collapse

Class Method Details

.notify(message, extra_params = {}) ⇒ Object



4
5
6
7
8
# File 'lib/coney_island/notifiers/airbrake_notifier.rb', line 4

def self.notify(message, extra_params = {})
  Airbrake.notify(message, extra_params)
rescue NameError => e
  fail ConfigurationError, fail_message(:airbrake, "Airbrake")
end