log on network error when resolving the last published IPNS record
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Jun 2, 2018 at 00:38 UTC
807f28eeae85a4afbdd7f7c598c5f713b3014e5e
1 file changed
+4
namesys/publisher.go
+4
@@ -136,6 +136,10 @@ func (p *IpnsPublisher) GetPublished(ctx context.Context, id peer.ID, checkRouti
136
if err != nil {
137
// Not found or other network issue. Can't really do
138
// anything about this case.
139
+ if err != routing.ErrNotFound {
140
+ log.Debugf("error when determining the last published IPNS record for %s: %s", id, err)
141
+ }
142
+
143
return nil, nil
144
}
145
default: