diff --git a/lib/datadog/tracing/contrib/graphql/unified_trace.rb b/lib/datadog/tracing/contrib/graphql/unified_trace.rb index 3347ca96cfa..6a68f0b3c16 100644 --- a/lib/datadog/tracing/contrib/graphql/unified_trace.rb +++ b/lib/datadog/tracing/contrib/graphql/unified_trace.rb @@ -195,6 +195,7 @@ def trace(callable, trace_key, resource, kwargs, before: nil, after: nil) ret = callable.call + puts "after.call:#{after},#{span}" after.call(span) if after ret @@ -218,6 +219,7 @@ def multiplex_resource(multiplex) # These are represented in the Datadog App as special GraphQL errors, # given their event name `dd.graphql.query.error`. def add_query_error_events(span, errors) + print("add_query_error_events:#{span},#{errors}") errors.each do |error| e = Core::Error.build_from(error) err = error.to_h