diff options
author | Sean McGivern <sean@gitlab.com> | 2018-03-09 13:35:21 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-03-12 10:14:52 +0000 |
commit | 68f8a798f24405318721a3457f2feb94452ba67b (patch) | |
tree | 5d898ad7f86255d188533827b898c4dd81b5c92d /config | |
parent | cd7fcfd5779716c302608ce462996809f952ceec (diff) | |
download | gitlab-ce-68f8a798f24405318721a3457f2feb94452ba67b.tar.gz |
Include the ee/ directory in backtracesallow-ee-in-backtraces
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 } |