chore(graphql): remove sentry log on timeout errors

This commit is contained in:
Paul Chavard 2023-05-15 10:04:45 +02:00
parent b583fe1fab
commit 0b696049b2

View file

@ -134,7 +134,6 @@ class API::V2::Schema < GraphQL::Schema
class Timeout < GraphQL::Schema::Timeout
def handle_timeout(error, query)
error.extensions = { code: :timeout }
Sentry.capture_exception(error, extra: query.context.query_info)
end
end