summaryrefslogtreecommitdiff
path: root/app/helpers/sentry_helper.rb
blob: 3d255df66a0c39214ea4ea9d2b66e5d36b6a44ed (plain)
1
2
3
4
5
6
7
8
9
module SentryHelper
  def sentry_enabled?
    Gitlab::Sentry.enabled?
  end

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