Sha256: 76fa08197762fde12d318f1e239b6818920f51b4a5c08f140f85e0df914a2bb9
Contents?: true
Size: 461 Bytes
Versions: 2
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.12.1 | lib/uniform_notifier/airbrake.rb |
uniform_notifier-1.12.0 | lib/uniform_notifier/airbrake.rb |