Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@ public void walkFileTree() {
try {
Files.walkFileTree(path, options, maxDepth, this);
} catch (IOException e) {
logger.error("Could not walk: {} ({})", path, e);
logger.debug("Overflow rescanner could not walk: {} ({})", path, e);
}
}

// -- SimpleFileVisitor --

@Override
public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException {
logger.error("Could not walk regular file: {} ({})", file, exc);
logger.debug("Overflow rescanner could not walk regular file: {} ({})", file, exc);
return FileVisitResult.CONTINUE;
}

@Override
public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {
if (exc != null) {
logger.error("Could not walk directory: {} ({})", dir, exc);
logger.debug("Overflow rescanner could not walk directory: {} ({})", dir, exc);
}
return FileVisitResult.CONTINUE;
}
Expand Down
Loading