swarm,cmd: fix migration link, change loglevel severity (#1420)

This commit is contained in:
acud
2019-06-06 14:46:28 +02:00
committed by Anton Evangelatov
parent bd1887189c
commit a454aa6c8d
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ func exportLegacy(path string, basekey []byte, out io.Writer) (int64, error) {
datakey := getDataKey(index.Idx, po) datakey := getDataKey(index.Idx, po)
data, err := db.Get(datakey, nil) data, err := db.Get(datakey, nil)
if err != nil { if err != nil {
log.Crit(fmt.Sprintf("Chunk %x found but could not be accessed: %v, %x", key, err, datakey)) log.Warn(fmt.Sprintf("Chunk %x found but could not be accessed: %v, %x", key, err, datakey))
continue continue
} }

View File

@ -153,7 +153,7 @@ func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err e
isLegacy := localstore.IsLegacyDatabase(config.ChunkDbPath) isLegacy := localstore.IsLegacyDatabase(config.ChunkDbPath)
if isLegacy { if isLegacy {
return nil, errors.New("Legacy database format detected! Please read the migration announcement at: https://github.com/ethersphere/go-ethereum/wiki/Swarm-v0.4-local-store-migration") return nil, errors.New("Legacy database format detected! Please read the migration announcement at: https://github.com/ethersphere/swarm/blob/master/docs/Migration-v0.3-to-v0.4.md")
} }
var feedsHandler *feed.Handler var feedsHandler *feed.Handler