this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

StreamRepoRecords needs to respect ErrDoneIterating

authored by

whyrusleeping and committed by
whyrusleeping
583e0744 8b654ac5

+3 -1
+3 -1
repo/stream.go
··· 147 147 if err := bs.View(val, func(data []byte) error { 148 148 return cb(k, val, data) 149 149 }); err != nil { 150 - slog.Error("failed to get record from tree", "key", k, "cid", val, "error", err) 150 + if err != ErrDoneIterating { 151 + slog.Error("failed to get record from tree", "key", k, "cid", val, "error", err) 152 + } 151 153 return nil 152 154 } 153 155