Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-18 19:26:32 +0300
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-18 19:26:32 +0300
commit5f98fdcdc9bca5b33220a1bb2b6ded32606271ff (patch)
tree4df2f675d34c0e31bcf6fb3fe2a8d1f714b1b452 /lib/gitlab/gon_helper.rb
parent58665b64f5bd8795571876587ea3a19253532286 (diff)
Add sentry logger to GitLab
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r--lib/gitlab/gon_helper.rb1
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