From 0b696049b2b69dabffaaebe8236821568688691d Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Mon, 15 May 2023 10:04:45 +0200 Subject: [PATCH] chore(graphql): remove sentry log on timeout errors --- app/graphql/api/v2/schema.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/graphql/api/v2/schema.rb b/app/graphql/api/v2/schema.rb index 9e81aaa49..8ff3cdfb1 100644 --- a/app/graphql/api/v2/schema.rb +++ b/app/graphql/api/v2/schema.rb @@ -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