Welcome to mirror list, hosted at ThFree Co, Russian Federation.

timeout.rb « graphql « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4282c46a19e121ea37040441c2314bcd7e3ec1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Gitlab
  module Graphql
    class Timeout < GraphQL::Schema::Timeout
      def handle_timeout(error, query)
        Gitlab::GraphqlLogger.error(message: error.message, query: query.query_string, query_variables: query.provided_variables)
      end
    end
  end
end