Skip to content

Commit f072284

Browse files
Mattia Bertorellocmaglie
Mattia Bertorello
authored andcommitted
Add logging
1 parent dd1d713 commit f072284

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ public static Optional<FileCached> getFileCached(final URL remoteURL, boolean en
146146
.orElseGet(() -> new FileCached(remoteURL.toString(), cacheFilePath.toString()));
147147

148148
// If the file is change of the cache is disable run the HEAD request to check if the file is changed
149+
log.info("Get file cached is expire {}, exist {}, info {} ", fileCached.isExpire(), fileCached.exists(), fileCached);
149150
if (fileCached.isExpire() || !fileCached.exists()) {
150151
// Update remote etag and cache control header
151152
final Optional<FileCached> fileCachedInfoUpdated =

0 commit comments

Comments
 (0)