diff options
author | Roger Meier <r.meier@siemens.com> | 2019-04-07 21:21:52 +0200 |
---|---|---|
committer | Roger Meier <r.meier@siemens.com> | 2019-04-30 18:10:57 +0200 |
commit | aebb2f70257882dd530b820f3cfdd67621d2a3fd (patch) | |
tree | ffc70dec184fbd478ad0898368ec58ad5398ef16 /config/initializers/sentry.rb | |
parent | 2432a540cff461c5d9c0346dd4021229078d674d (diff) | |
download | gitlab-ce-aebb2f70257882dd530b820f3cfdd67621d2a3fd.tar.gz |
feat: allow Sentry configuration to be passed on gitlab.yml
Diffstat (limited to 'config/initializers/sentry.rb')
-rw-r--r-- | config/initializers/sentry.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index 680cfa6f0ed..e5589ce0ad1 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -14,6 +14,7 @@ def configure_sentry Raven.configure do |config| config.dsn = Gitlab::CurrentSettings.current_application_settings.sentry_dsn config.release = Gitlab.revision + config.current_environment = Gitlab.config.sentry.environment.presence # Sanitize fields based on those sanitized from Rails. config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s) |