Skip to content

Commit f8b878d

Browse files
committed
Add debug logging for last modifed date
1 parent 5c39ecc commit f8b878d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/java/io/snyk/plugins/artifactory/scanner/ScannerModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ private Instant getLastModifiedDate(RepoPath repoPath) {
117117
ItemInfo itemInfo = repositories.getItemInfo(repoPath);
118118
if (itemInfo != null) {
119119
Instant lastModified = Instant.ofEpochMilli(itemInfo.getLastModified());
120+
LOG.debug("Retrieved last modifed date of {}", lastModified.toString());
120121
return lastModified;
121122
} else {
122123
LOG.debug("Unable to retrieve ItemInfo for {}, could not retrieve last modified date", repoPath);

0 commit comments

Comments
 (0)