From 807f28eeae85a4afbdd7f7c598c5f713b3014e5e Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 2 Jun 2018 00:38:00 -0700 Subject: [PATCH] log on network error when resolving the last published IPNS record License: MIT Signed-off-by: Steven Allen --- namesys/publisher.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/namesys/publisher.go b/namesys/publisher.go index 4fe15ca68..f5f7d3695 100644 --- a/namesys/publisher.go +++ b/namesys/publisher.go @@ -136,6 +136,10 @@ func (p *IpnsPublisher) GetPublished(ctx context.Context, id peer.ID, checkRouti if err != nil { // Not found or other network issue. Can't really do // anything about this case. + if err != routing.ErrNotFound { + log.Debugf("error when determining the last published IPNS record for %s: %s", id, err) + } + return nil, nil } default: