diff options
author | Robert Speicher <robert@gitlab.com> | 2018-03-12 16:53:12 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-03-12 16:53:12 +0000 |
commit | ff292d40a23e3df9b08f7b4dc715f1e35bf34de1 (patch) | |
tree | a6b8b4c789aee3c7a10c9e00948f54a5e3fe9efa /config | |
parent | 1be6a4424a37fa76b3cd1b856aa718c186809599 (diff) | |
parent | 68f8a798f24405318721a3457f2feb94452ba67b (diff) | |
download | gitlab-ce-ff292d40a23e3df9b08f7b4dc715f1e35bf34de1.tar.gz |
Merge branch 'allow-ee-in-backtraces' into 'master'
Include the ee/ directory in backtraces
Closes gitlab-ee#5204
See merge request gitlab-org/gitlab-ce!17664
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/backtrace_silencers.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb index 59385cdf379..58941aae1b0 100644 --- a/config/initializers/backtrace_silencers.rb +++ b/config/initializers/backtrace_silencers.rb @@ -1,7 +1,2 @@ -# Be sure to restart your server when you modify this file. - -# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. -# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } - -# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. -# Rails.backtrace_cleaner.remove_silencers! +Rails.backtrace_cleaner.remove_silencers! +Rails.backtrace_cleaner.add_silencer { |line| line !~ Gitlab::APP_DIRS_PATTERN } |