diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 9749af08dca..08e4f4956df 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -110,7 +110,7 @@ class ApplicationController < ActionController::Base rescue_from Gitlab::Git::ResourceExhaustedError do |e| response.headers.merge!(e.headers) - render plain: e.message, status: :too_many_requests + render plain: e.message, status: :service_unavailable end content_security_policy do |p| |