summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-10-08 10:37:05 +0000
committerDouwe Maan <douwe@gitlab.com>2018-10-08 10:37:05 +0000
commit0e8fc9262e344d386fc1d680e0af24e84ebb0912 (patch)
tree54579bbdcba38531a38639fd4bfec415e3f3ab3a
parent7f8025e13e7be7c555abdd445ffd56d67bcdf6d3 (diff)
parent7fa3180883c6ad29db0a93eb1009c98fb822702e (diff)
downloadgitlab-ce-0e8fc9262e344d386fc1d680e0af24e84ebb0912.tar.gz
Merge branch 'sh-remove-duplicate-logging' into 'master'
Remove duplicate Sentry logging for GRPC exceptions See merge request gitlab-org/gitlab-ce!22187
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index d7dbc712743..ec45e2813c5 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -67,7 +67,6 @@ class ApplicationController < ActionController::Base
end
rescue_from Gitlab::Git::Storage::Inaccessible, GRPC::Unavailable, Gitlab::Git::CommandError do |exception|
- Raven.capture_exception(exception) if sentry_enabled?
log_exception(exception)
headers['Retry-After'] = exception.retry_after if exception.respond_to?(:retry_after)