1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 18:13:54 +08:00

Merge pull request #1271 from ipfs/fix/shutdown-err

silence error log on shutdown
This commit is contained in:
Juan Batiz-Benet
2015-05-21 02:53:32 -04:00

View File

@ -80,7 +80,7 @@ func (fs *Filesystem) Close() error {
defer wg.Done()
err := r.Publish(context.TODO())
if err != nil {
log.Error(err)
log.Notice(err)
return
}
}(r)