Skip to content

Commit 66315b8

Browse files
Merge pull request ipfs#3435 from ipfs/fix/errorf-bitswap
fix formatting on error call
2 parents f81cccc + 3899469 commit 66315b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exchange/bitswap/wantmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (mq *msgQueue) doWork(ctx context.Context) {
217217

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

0 commit comments

Comments
 (0)