1
0

fix: log error if no cache found

This commit is contained in:
dump_stack() 2023-05-13 12:38:03 +00:00
parent 1818d38b03
commit fb5411503c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -133,7 +133,7 @@ func MatchImagePkg(km config.KernelMask) (pkgs []string, err error) {
err = cache.DownloadDebianCache(CachePath) err = cache.DownloadDebianCache(CachePath)
if err != nil { if err != nil {
log.Debug().Msg("No remote cache, will take some time") log.Debug().Err(err).Msg("No remote cache, will take some time")
} }
} else { } else {
log.Debug().Msgf("Debian kernels cache path: %s", CachePath) log.Debug().Msgf("Debian kernels cache path: %s", CachePath)