@cryptotaxi247 / kubo / commits / f78a561eb

Downgrade bootstrap node error

It's very noisy in the test logs, and probably indicates user error (which may be a warning), rather than an actual, unexpected error.

Matt Joiner committed Mar 27, 2019 at 13:38 UTC f78a561eba400c1145aa50abc02be7f8f23be3a4
1 file changed +1 -1
core/bootstrap.go
+1 -1
@@ -80,7 +80,7 @@ func Bootstrap(n *IpfsNode, cfg BootstrapConfig) (io.Closer, error) {
80 if len(cfg.BootstrapPeers()) == 0 {
81 // We *need* to bootstrap but we have no bootstrap peers
82 // configured *at all*, inform the user.
83 - log.Error("no bootstrap nodes configured: go-ipfs may have difficulty connecting to the network")
83 + log.Warning("no bootstrap nodes configured: go-ipfs may have difficulty connecting to the network")
84 }
85
86 // the periodic bootstrap function -- the connection supervisor