fix log messages

This commit is contained in:
2026-05-29 08:51:51 -06:00
parent 9e71c4e828
commit 9aa79753ff
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -86,8 +86,12 @@ func (r *RepoSync) Sync() error {
}
slog.Info("finished pkg update")
// call cache cleanup
err = r.c.Clean()
}
// call cache cleanup
if err := r.c.Clean(); err != nil {
slog.Error("clean cache failed", "err", err)
return err
}
return nil
}