Sha256: 7f4cb9e70f6424c51db8e5e5eaf309e8e86054a73cb250ae8a19d4b9ae8fb5d7
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true class UniformNotifier class BugsnagNotifier < Base class << self def active? !!UniformNotifier.bugsnag end protected def _out_of_channel_notify(data) opt = {} opt = UniformNotifier.bugsnag if UniformNotifier.bugsnag.is_a?(Hash) exception = Exception.new(data[:title]) exception.set_backtrace(data[:backtrace]) if data[:backtrace] Bugsnag.notify(exception, opt.merge(grouping_hash: data[:body] || data[:title], notification: data)) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.14.2 | lib/uniform_notifier/bugsnag.rb |
uniform_notifier-1.14.1 | lib/uniform_notifier/bugsnag.rb |