SOLR-6920, SOLR-6640: Do not log an error when a file does not exist for comparison.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2015-02-07 18:12:13 +00:00
parent f198592418
commit f0e9183c29
1 changed files with 3 additions and 0 deletions

View File

@ -876,6 +876,9 @@ public class SnapPuller {
return compareResult;
}
}
} catch (NoSuchFileException | FileNotFoundException e) {
compareResult.equal = false;
return compareResult;
} catch (IOException e) {
LOG.error("Could not read file " + filename + ". Downloading it again", e);
compareResult.equal = false;