class UniformNotifier::SentryNotifier
Public Class Methods
active?()
click to toggle source
# File lib/uniform_notifier/sentry.rb, line 6 def active? !!UniformNotifier.sentry end
Protected Class Methods
_out_of_channel_notify(data)
click to toggle source
# File lib/uniform_notifier/sentry.rb, line 12 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