diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-09-01 17:30:43 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-09-01 17:30:43 +0300 |
commit | dceb2112d2ec34a947edfb2c9ec4d286fea4661a (patch) | |
tree | f1d2f5f7724a6560d88d2a848a0cb6f504aafdb1 /lib/gitlab/sentry.rb | |
parent | ba3cfd07dd9bd0de57239d5a748d98f783507d92 (diff) | |
parent | 4761235f6944d1627346ca835a192c1ed32f745e (diff) |
Merge branch 'bvl-validate-po-files' into 'master'
Validate PO files in static analysis
See merge request !13000
Diffstat (limited to 'lib/gitlab/sentry.rb')
-rw-r--r-- | lib/gitlab/sentry.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/sentry.rb b/lib/gitlab/sentry.rb index f6bdd6cf0fe..159d0e7952e 100644 --- a/lib/gitlab/sentry.rb +++ b/lib/gitlab/sentry.rb @@ -9,6 +9,8 @@ module Gitlab def self.context(current_user = nil) return unless self.enabled? + Raven.tags_context(locale: I18n.locale) + if current_user Raven.user_context( id: current_user.id, |