summaryrefslogtreecommitdiff
path: root/app/helpers/sentry_helper.rb
blob: d53eaef99526cc88438c3876e4489341c908fc65 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module SentryHelper
  def sentry_enabled?
    Gitlab::Sentry.enabled?
  end

  def sentry_context
    Gitlab::Sentry.context(current_user)
  end
end