Skip to content

Commit

Permalink
Fix tabs in examples (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjti committed Dec 30, 2023
1 parent 5c9f10e commit 882acc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ func task(ctx context.Context) error {
}

func recordErr(span trace.Span, err error) error {
span.SetStatus(codes.Error, err.Error())
span.RecordError(err)
return err
span.SetStatus(codes.Error, err.Error())
span.RecordError(err)
return err
}
```

Expand Down

0 comments on commit 882acc2

Please sign in to comment.