Sha256: 4c1d808ff9b635d05b8850e239f008d81bf7437c01963c694cfcf5ac93f5f42f
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 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 = {} opt = UniformNotifier.sentry if UniformNotifier.sentry.is_a?(Hash) exception = Exception.new(message) Raven.capture_exception(exception, opt) end end end
Version data entries
5 entries across 5 versions & 1 rubygems