Skip to content

Commit

Permalink
Return response on success (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
asuresh4 authored Jun 21, 2022
1 parent 89ad62c commit a36a9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (w *worker) export(ctx context.Context, batches []*jaegerpb.Batch, accessTo
responseBody, serr := w.send(ctx, sr, accessToken)
if serr == nil {
recordSuccess(ctx, sr)
return nil, nil
return responseBody, nil
}
span.RecordError(err)
span.SetStatus(codes.Error, "")
Expand Down

0 comments on commit a36a9ac

Please sign in to comment.