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