diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-04-18 12:26:32 -0400 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-04-18 12:26:32 -0400 |
commit | 5f98fdcdc9bca5b33220a1bb2b6ded32606271ff (patch) | |
tree | 4df2f675d34c0e31bcf6fb3fe2a8d1f714b1b452 /lib | |
parent | 58665b64f5bd8795571876587ea3a19253532286 (diff) | |
download | gitlab-ce-5f98fdcdc9bca5b33220a1bb2b6ded32606271ff.tar.gz |
Add sentry logger to GitLab
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 5ebaad6ca6e..4bdaedbf9b6 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -7,6 +7,7 @@ module Gitlab gon.max_file_size = current_application_settings.max_attachment_size gon.relative_url_root = Gitlab.config.gitlab.relative_url_root gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class + gon.sentry_dsn = ApplicationSetting.current.sentry_dsn if current_user gon.current_user_id = current_user.id |