Merge pull request #9046 from tchak/graphql-remove-sentry-tiemout-log

ETQ Opérateur, je ne veux pas voir de log de timeout d'API dans les log Sentry
This commit is contained in:
Colin Darie 2023-05-15 11:37:48 +00:00 committed by GitHub
commit b4f658b601
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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