0fe4cf2b0f
Moves program tag into the global configuration since this doesn't change and since Sidekiq workers get a unique context for each event. Closes #21410
9 lines
149 B
Ruby
9 lines
149 B
Ruby
module SentryHelper
|
|
def sentry_enabled?
|
|
Gitlab::Sentry.enabled?
|
|
end
|
|
|
|
def sentry_context
|
|
Gitlab::Sentry.context(current_user)
|
|
end
|
|
end
|