diff options
author | Roger Meier <r.meier@siemens.com> | 2019-04-30 22:06:08 +0200 |
---|---|---|
committer | Roger Meier <r.meier@siemens.com> | 2019-06-25 21:17:19 +0200 |
commit | 946ffc67b711b39512a789213779d2736fcc0049 (patch) | |
tree | 661cfd4c18767c9972ca7775e7c8e4d1f1586544 /lib/gitlab/gon_helper.rb | |
parent | 76889a9956e76e300edc8993048c3cd5c3a24da0 (diff) | |
download | gitlab-ce-946ffc67b711b39512a789213779d2736fcc0049.tar.gz |
refactor: remove Sentry from application settings
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 582c3065189..92917028851 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -16,8 +16,8 @@ module Gitlab gon.shortcuts_path = Gitlab::Routing.url_helpers.help_page_path('shortcuts') gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class - if Gitlab::CurrentSettings.clientside_sentry_enabled - gon.sentry_dsn = Gitlab::CurrentSettings.clientside_sentry_dsn + if Gitlab.config.sentry.enabled + gon.sentry_dsn = Gitlab.config.sentry.clientside_dsn gon.sentry_environment = Gitlab.config.sentry.environment end |