Commit bdfed2e6 authored by Steven Allen's avatar Steven Allen

Demote bitswap error to an info

Not being able to dial a peer we used to be connected to is interesting but
definitely not an error.

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 25520f34
...@@ -234,7 +234,7 @@ func (mq *msgQueue) doWork(ctx context.Context) { ...@@ -234,7 +234,7 @@ func (mq *msgQueue) doWork(ctx context.Context) {
err = mq.openSender(ctx) err = mq.openSender(ctx)
if err != nil { if err != nil {
log.Errorf("couldnt open sender again after SendMsg(%s) failed: %s", mq.p, err) log.Infof("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