Sha256: 391388e17e2e547e919115014b7569649e48695d88783cdaaccfdc9c9dd7753b
Contents?: true
Size: 529 Bytes
Versions: 4
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true class UniformNotifier class HoneybadgerNotifier < Base def self.active? !!UniformNotifier.honeybadger end protected def self._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 end end
Version data entries
4 entries across 4 versions & 1 rubygems