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:
commit
0e8fc9262e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue