forked from ALHP/ALHP.GO
add more logging to repo-add fail
This commit is contained in:
4
main.go
4
main.go
@@ -471,7 +471,9 @@ func (b *BuildManager) repoWorker() {
|
||||
cmd := backgroundCmd("repo-add", args...)
|
||||
res, err := cmd.CombinedOutput()
|
||||
log.Debug(string(res))
|
||||
check(err)
|
||||
if err != nil {
|
||||
log.Panicf("%s while repo-add: %s", err, string(res))
|
||||
}
|
||||
|
||||
cmd = backgroundCmd("paccache",
|
||||
"-rc", filepath.Join(conf.Basedir.Repo, pkg.FullRepo, "os", conf.Arch),
|
||||
|
Reference in New Issue
Block a user