Commit 55a8c5ce authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #3435 from ipfs/fix/errorf-bitswap

fix formatting on error call
parents 1fbd7c05 76835ff3
...@@ -217,7 +217,7 @@ func (mq *msgQueue) doWork(ctx context.Context) { ...@@ -217,7 +217,7 @@ func (mq *msgQueue) doWork(ctx context.Context) {
err = mq.openSender(ctx) err = mq.openSender(ctx)
if err != nil { 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? // TODO(why): what do we do now?
// I think the *right* answer is to probably put the message we're // 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 // trying to send back, and then return to waiting for new work or
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment