mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Add logging
This commit is contained in:
parent
dd1d713d19
commit
f0722843f6
@ -146,6 +146,7 @@ public class FileDownloaderCache {
|
||||
.orElseGet(() -> new FileCached(remoteURL.toString(), cacheFilePath.toString()));
|
||||
|
||||
// If the file is change of the cache is disable run the HEAD request to check if the file is changed
|
||||
log.info("Get file cached is expire {}, exist {}, info {} ", fileCached.isExpire(), fileCached.exists(), fileCached);
|
||||
if (fileCached.isExpire() || !fileCached.exists()) {
|
||||
// Update remote etag and cache control header
|
||||
final Optional<FileCached> fileCachedInfoUpdated =
|
||||
|
Loading…
x
Reference in New Issue
Block a user