Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /