summaryrefslogtreecommitdiff
path: root/lib/gitlab/backtrace_cleaner.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-17 21:09:56 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-17 21:09:56 +0000
commit9facfe5cb194005894467c06e4ea1a9800034ab4 (patch)
tree5ceaecd5f89725250bbf4119558715fa14576c4c /lib/gitlab/backtrace_cleaner.rb
parent18da92341dac366b7bcfd13f2d3c443ffa315af0 (diff)
downloadgitlab-ce-9facfe5cb194005894467c06e4ea1a9800034ab4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/backtrace_cleaner.rb')
-rw-r--r--lib/gitlab/backtrace_cleaner.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/backtrace_cleaner.rb b/lib/gitlab/backtrace_cleaner.rb
index 30ec99808f7..d04f0983d12 100644
--- a/lib/gitlab/backtrace_cleaner.rb
+++ b/lib/gitlab/backtrace_cleaner.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+# Remove some GitLab code from backtraces. Do not use this for logging errors in
+# production environments, as the error may be thrown by our middleware.
module Gitlab
module BacktraceCleaner
IGNORE_BACKTRACES = %w[