Skip to content

Commit

Permalink
Update error.go
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Jul 12, 2022
1 parent 13aa8f9 commit d5b9679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func ErrorOnPath(ctx context.Context, err error) error {
if gqlErr.Path == nil {
gqlErr.Path = GetPath(ctx)
}
// Return the original error to avoid closed any attached annotation
// Return the original error to avoid losing any attached annotation
return err
}
return gqlerror.WrapPath(GetPath(ctx), err)
Expand Down

0 comments on commit d5b9679

Please sign in to comment.