10 lines
149 B
Ruby
10 lines
149 B
Ruby
|
module SentryHelper
|
||
|
def sentry_enabled?
|
||
|
Gitlab::Sentry.enabled?
|
||
|
end
|
||
|
|
||
|
def sentry_context
|
||
|
Gitlab::Sentry.context(current_user)
|
||
|
end
|
||
|
end
|