fix: log error if no cache found
This commit is contained in:
parent
1818d38b03
commit
fb5411503c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user