Skip to content

Commit bb68648

Browse files
authored
Added logging for missed pre-cacher download error. (#11895)
1 parent 9853652 commit bb68648

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolkit/tools/precacher/precacher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ func precachePackage(pkg *repocloner.RepoPackage, packagesAvailableFromRepos map
259259
logger.Log.Debugf("Pre-caching '%s' from '%s'", fileName, url)
260260
_, err = network.DownloadFileWithRetry(context.Background(), url, fullFilePath, nil, nil, network.DefaultTimeout)
261261
if err != nil {
262+
logger.Log.Warnf("Failed to download '%s' from '%s': %s", fileName, url, err)
262263
return
263264
}
264265

0 commit comments

Comments
 (0)