Skip to content

Commit

Permalink
Modify error msg to warning msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Aishwarya-Lad committed Apr 2, 2024
1 parent decb955 commit f80525a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cache/rebuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ func (r rebuilder) Rebuild(srcs []string) error {
wg.Wait()

if errs.Err() != nil {
return fmt.Errorf("rebuild failed, %w", errs)
for e := range errs {
level.Warn(r.logger).Log("msg", "ignore archival, ", e)
}
}

level.Info(r.logger).Log("msg", "cache built", "took", time.Since(now))
Expand Down

0 comments on commit f80525a

Please sign in to comment.