class UniformNotifier::HoneybadgerNotifier
Public Class Methods
active?()
click to toggle source
# File lib/uniform_notifier/honeybadger.rb, line 6 def active? !!UniformNotifier.honeybadger end
Protected Class Methods
_out_of_channel_notify(data)
click to toggle source
# File lib/uniform_notifier/honeybadger.rb, line 12 def _out_of_channel_notify(data) message = data.values.compact.join("\n") opt = {} opt = UniformNotifier.honeybadger if UniformNotifier.honeybadger.is_a?(Hash) exception = Exception.new(message) honeybadger_class = opt[:honeybadger_class] || Honeybadger honeybadger_class.notify(exception, opt) end