mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-10 01:31:45 +00:00
12 lines
304 B
Ruby
12 lines
304 B
Ruby
# 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
|