Sha256: 105382f804854a8d5f17ffcdfc20085d6a174b9d582c0c66e76d81fd86ee0c0a
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
module 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
5 entries across 5 versions & 1 rubygems