gitlab-org--gitlab-foss/config/initializers/faraday.rb

3 lines
134 B
Ruby

# frozen_string_literal: true
::Faraday::Request.register_middleware(gitlab_error_callback: -> { ::Gitlab::Faraday::ErrorCallback })