Catch error for debugging purposes

This commit is contained in:
Neil Hanlon 2023-01-05 18:12:53 -05:00
parent fa26cb34df
commit 60a3885b91
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -568,6 +568,9 @@ func kindCatalogGroupInstallOptions(tx peridotdb.Access, req *peridotpb.SyncCata
return nil, fmt.Errorf("failed to parse build groupinstall options: %w", err)
}
err = tx.SetBuildRootPackages(req.ProjectId.Value, srpmPackages, buildPackages)
if err != nil {
return nil, fmt.Errorf("failed to set buildroot packages for project: %w", err)
}
ret.SrpmPackages = append(ret.SrpmPackages, srpmPackages...)
ret.BuildPackages = append(ret.BuildPackages, buildPackages...)