![Stan Hu](/assets/img/avatar_default.png)
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
|