BigW Consortium Gitlab

sentry_helper.rb 149 Bytes
Newer Older
1 2
module SentryHelper
  def sentry_enabled?
3
    Gitlab::Sentry.enabled?
4 5 6
  end

  def sentry_context
7
    Gitlab::Sentry.context(current_user)
8 9
  end
end