Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
quinna-h committed Feb 25, 2025
1 parent 867a912 commit 2387928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddtrace/contrib/internal/graphql/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ def _set_span_errors(errors: List[GraphQLError], span: Span) -> None:
extensions = _validate_error_extensions(error, error_extension_fields)
if extensions:
for key in extensions:
attributes[f"{key}"] = extensions[key]
breakpoint()
attributes[f"extensions.{key}"] = extensions[key]
# breakpoint()
span._add_event(
name="dd.graphql.query.error",
attributes=attributes,
Expand Down

0 comments on commit 2387928

Please sign in to comment.