diff options
author | Stan Hu <stanhu@gmail.com> | 2018-10-07 23:28:03 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-10-07 23:30:29 -0700 |
commit | 7fa3180883c6ad29db0a93eb1009c98fb822702e (patch) | |
tree | 271be699b10cdb7e03a67a3f646d8a70739bee50 /app/controllers/application_controller.rb | |
parent | c3389c8006443e2b4d994eb15e60bd249fc4732f (diff) | |
download | gitlab-ce-7fa3180883c6ad29db0a93eb1009c98fb822702e.tar.gz |
Remove duplicate Sentry logging for GRPC messages
Raven.capture_exception is already called by log_exception.
Diffstat (limited to 'app/controllers/application_controller.rb')
-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) |