improved error handling for errors fetching packages from db in HK

This commit is contained in:
2022-02-10 14:31:45 +01:00
parent b7a49ec6c1
commit 3a6dc45089

View File

@@ -796,7 +796,8 @@ func housekeeping(repo string, march string, wg *sync.WaitGroup) error {
buildManager.repoPurge[pkg.FullRepo] <- []*BuildPackage{pkg}
continue
} else if err != nil {
return err
log.Warningf("[HK] Problem fetching package from db for %s", path)
continue
}
pkg := &BuildPackage{