Class: ConeyIsland::Notifiers::HoneybadgerNotifier

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

Class Method Summary collapse

Class Method Details

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



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

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