Sha256: 93e5ff738bc0818ca9e73437f26856e997052d76d9d24846e7722d378b763c9f
Contents?: true
Size: 533 Bytes
Versions: 3
Compression:
Stored size: 533 Bytes
Contents
# frozen_string_literal: true class UniformNotifier class BugsnagNotifier < Base def self.active? !!UniformNotifier.bugsnag end protected def self._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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.14.0 | lib/uniform_notifier/bugsnag.rb |
uniform_notifier-1.13.2 | lib/uniform_notifier/bugsnag.rb |
uniform_notifier-1.13.1 | lib/uniform_notifier/bugsnag.rb |