Sha256: e929a307d5bd6c642e27c1a25d822bf8ad38f1ae35b2751013d02639fb0c447a
Contents?: true
Size: 430 Bytes
Versions: 3
Compression:
Stored size: 430 Bytes
Contents
class UniformNotifier class AirbrakeNotifier < Base def self.active? !!UniformNotifier.airbrake end protected def self._out_of_channel_notify(data) message = data.values.compact.join("\n") opt = {} if UniformNotifier.airbrake.is_a?(Hash) opt = UniformNotifier.airbrake end exception = Exception.new(message) Airbrake.notify(exception, opt) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.11.0 | lib/uniform_notifier/airbrake.rb |
uniform_notifier-1.10.0 | lib/uniform_notifier/airbrake.rb |
uniform_notifier-1.9.0 | lib/uniform_notifier/airbrake.rb |