Merge branch 'sh-remove-duplicate-logging' into 'master'

Remove duplicate Sentry logging for GRPC exceptions

See merge request gitlab-org/gitlab-ce!22187
This commit is contained in:
Douwe Maan 2018-10-08 10:37:05 +00:00
commit 0e8fc9262e
1 changed files with 0 additions and 1 deletions

View File

@ -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)