Skip to content

Conversation

@vladshub
Copy link
Contributor

No description provided.

@vladshub vladshub requested a review from rhinof April 21, 2019 19:59
@coveralls
Copy link

coveralls commented Apr 21, 2019

Coverage Status

Coverage decreased (-1.2%) to 68.485% when pulling 5aa160e on added-more-logs into 6985c13 on master.

} else {
commitErr := activeTx.Commit()
if commitErr != nil {
return commitErr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error should be returned

b.SenderLock.Lock()
defer b.SenderLock.Unlock()
span, ctx := opentracing.StartSpanFromContext(ctx, "sendImpl")
span, _ := opentracing.StartSpanFromContext(sctx, "sendImpl")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't the wrapped context (the one that is returned from the StartSpanFromContext method) be used ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use it anywhere down the road...

@rhinof rhinof merged commit f918b9c into master Apr 22, 2019
@rhinof rhinof deleted the added-more-logs branch April 24, 2019 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants