Class: ConeyIsland::Notifiers::BugsnagNotifier

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

Class Method Summary collapse

Class Method Details

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



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

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