Sha256: 34aa057816755881980e6567f0909f9cf0c3e60a85741b88aa41a9b06311afe7
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
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 = {} if UniformNotifier.honeybadger.is_a?(Hash) opt = UniformNotifier.honeybadger end exception = Exception.new(message) Honeybadger.notify(exception, opt) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.11.0 | lib/uniform_notifier/honeybadger.rb |
uniform_notifier-1.10.0 | lib/uniform_notifier/honeybadger.rb |