diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-10-08 13:37:05 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-10-08 13:37:05 +0300 |
commit | 0e8fc9262e344d386fc1d680e0af24e84ebb0912 (patch) | |
tree | 54579bbdcba38531a38639fd4bfec415e3f3ab3a /app | |
parent | 7f8025e13e7be7c555abdd445ffd56d67bcdf6d3 (diff) | |
parent | 7fa3180883c6ad29db0a93eb1009c98fb822702e (diff) |
Merge branch 'sh-remove-duplicate-logging' into 'master'
Remove duplicate Sentry logging for GRPC exceptions
See merge request gitlab-org/gitlab-ce!22187
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
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) |