Skip to content

Commit

Permalink
Fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn committed Aug 11, 2024
1 parent 9af71dd commit 4c3d3ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,8 @@ protected virtual void EnrichError(IError error, Activity activity)
{
for (var i = 0; i < error.Locations.Count; i++)
{
tags.Add(new("graphql.error.location.column", error.Locations[i].Column));
tags.Add(new("graphql.error.location.line", error.Locations[i].Line));
tags["graphql.error.location.column"] = error.Locations[i].Column;
tags["graphql.error.location.line"] = error.Locations[i].Line;

activity.AddEvent(new ActivityEvent(AttributeExceptionEventName, default, tags));
}
Expand Down

0 comments on commit 4c3d3ed

Please sign in to comment.