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:
commit
b4f658b601
1 changed files with 0 additions and 1 deletions
|
@ -134,7 +134,6 @@ class API::V2::Schema < GraphQL::Schema
|
||||||
class Timeout < GraphQL::Schema::Timeout
|
class Timeout < GraphQL::Schema::Timeout
|
||||||
def handle_timeout(error, query)
|
def handle_timeout(error, query)
|
||||||
error.extensions = { code: :timeout }
|
error.extensions = { code: :timeout }
|
||||||
Sentry.capture_exception(error, extra: query.context.query_info)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue