1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-02 03:28:25 +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() defer wg.Done()
err := r.Publish(context.TODO()) err := r.Publish(context.TODO())
if err != nil { if err != nil {
log.Error(err) log.Notice(err)
return return
} }
}(r) }(r)