mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-21 02:08:29 +00:00
Catch error for debugging purposes
This commit is contained in:
parent
fa26cb34df
commit
60a3885b91
@ -568,6 +568,9 @@ func kindCatalogGroupInstallOptions(tx peridotdb.Access, req *peridotpb.SyncCata
|
|||||||
return nil, fmt.Errorf("failed to parse build groupinstall options: %w", err)
|
return nil, fmt.Errorf("failed to parse build groupinstall options: %w", err)
|
||||||
}
|
}
|
||||||
err = tx.SetBuildRootPackages(req.ProjectId.Value, srpmPackages, buildPackages)
|
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.SrpmPackages = append(ret.SrpmPackages, srpmPackages...)
|
||||||
ret.BuildPackages = append(ret.BuildPackages, buildPackages...)
|
ret.BuildPackages = append(ret.BuildPackages, buildPackages...)
|
||||||
|
Loading…
Reference in New Issue
Block a user