debian-mirror-gitlab/config/initializers/faraday.rb
2021-03-11 19:13:27 +05:30

3 lines
134 B
Ruby

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