Skip to content

Commit

Permalink
Merge pull request #3435 from ipfs/fix/errorf-bitswap
Browse files Browse the repository at this point in the history
fix formatting on error call
  • Loading branch information
whyrusleeping authored Nov 29, 2016
2 parents f81cccc + 3899469 commit 66315b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/bitswap/wantmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (mq *msgQueue) doWork(ctx context.Context) {

err = mq.openSender(ctx)
if err != nil {
log.Error("couldnt open sender again after SendMsg(%s) failed: %s", mq.p, err)
log.Errorf("couldnt open sender again after SendMsg(%s) failed: %s", mq.p, err)
// TODO(why): what do we do now?
// I think the *right* answer is to probably put the message we're
// trying to send back, and then return to waiting for new work or
Expand Down

0 comments on commit 66315b8

Please sign in to comment.