From fb5411503c89372920f50ff2e8de339f3eacc5e9 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 13 May 2023 12:38:03 +0000 Subject: [PATCH] fix: log error if no cache found --- distro/debian/debian.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distro/debian/debian.go b/distro/debian/debian.go index fa18ee4..d9b1c7d 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -133,7 +133,7 @@ func MatchImagePkg(km config.KernelMask) (pkgs []string, err error) { err = cache.DownloadDebianCache(CachePath) 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 { log.Debug().Msgf("Debian kernels cache path: %s", CachePath)