diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-30 21:27:27 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-30 21:27:27 +0300 |
commit | 29c5174274feafebc4ecb182eaece3dfb2197d22 (patch) | |
tree | e1632a18a93076b6cad8f92b1258579ff6e93e8f /config/initializers/1_settings.rb | |
parent | 93a332a620f54038d78bd82ce6f1f553d92b7f46 (diff) | |
parent | aebb2f70257882dd530b820f3cfdd67621d2a3fd (diff) |
Merge branch 'feat/sentry-environment' into 'master'
feat: add option to define the Sentry Environment
See merge request gitlab-org/gitlab-ce!27091
Diffstat (limited to 'config/initializers/1_settings.rb')
-rw-r--r-- | config/initializers/1_settings.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 18c3686e6b4..154de3bc1b0 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -218,6 +218,14 @@ Settings.registry['host_port'] ||= [Settings.registry['host'], Settings.regi Settings.registry['path'] = Settings.absolute(Settings.registry['path'] || File.join(Settings.shared['path'], 'registry')) # +# Error Reporting and Logging with Sentry +# +Settings['sentry'] ||= Settingslogic.new({}) +Settings.sentry['enabled'] ||= false +Settings.sentry['dsn'] ||= nil +Settings.sentry['environment'] ||= nil + +# # Pages # Settings['pages'] ||= Settingslogic.new({}) |