fix: trace error before nullifying
This commit is contained in:
parent
b6bc9b36c5
commit
dce7546dd2
@ -128,8 +128,8 @@ func getDebianKernel(version string) (dk DebianKernel, err error) {
|
|||||||
p := dk.Image
|
p := dk.Image
|
||||||
repos, err := metasnap.GetRepos(p.Repo.Archive, p.Name, p.Arch, version)
|
repos, err := metasnap.GetRepos(p.Repo.Archive, p.Name, p.Arch, version)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = nil
|
|
||||||
flog.Debug().Err(err).Msg("ignore metasnap")
|
flog.Debug().Err(err).Msg("ignore metasnap")
|
||||||
|
err = nil
|
||||||
}
|
}
|
||||||
for _, repo := range repos {
|
for _, repo := range repos {
|
||||||
for _, release := range ReleaseStrings[1:] {
|
for _, release := range ReleaseStrings[1:] {
|
||||||
|
Loading…
Reference in New Issue
Block a user