Skip to content

Commit

Permalink
Rename convert error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DarcyRaynerDD committed May 22, 2019
1 parent 346ae4f commit 8845061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/trace/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func ExtractTraceContext(ctx context.Context, ev json.RawMessage) (context.Conte
// Second priority is any trace
traceContext, err := convertTraceContextFromXRay(ctx)
if err != nil {
return ctx, fmt.Errorf("couldn't find trace context: %v", err)
return ctx, fmt.Errorf("couldn't convert trace context: %v", err)
}

return context.WithValue(ctx, traceContextKey, traceContext), nil
Expand Down

0 comments on commit 8845061

Please sign in to comment.