Sha256: 85c359acb9878974b47b76461657e2a782eab74e81b897f2184c29dfd872d909
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true class UniformNotifier class SentryNotifier < Base class << self def active? !!UniformNotifier.sentry end protected def _out_of_channel_notify(data) message = data.values.compact.join("\n") opt = {} opt = UniformNotifier.sentry if UniformNotifier.sentry.is_a?(Hash) exception = Exception.new(message) Sentry.capture_exception(exception, **opt) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.16.0 | lib/uniform_notifier/sentry.rb |
uniform_notifier-1.15.0 | lib/uniform_notifier/sentry.rb |
uniform_notifier-1.14.2 | lib/uniform_notifier/sentry.rb |