Skip to content

Commit

Permalink
Corrected a misinformative log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Jun 18, 2021
1 parent beb9607 commit e01be32
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private void hadoopIndex() {
java.nio.file.Path filePath = fileResolver.getPath(filename);
if (filePath == null) {
log.warn("No path identified for file '{}'", filename);
throw new FileNotFoundException(filename);
throw new FileNotFoundException("File resolver failed to identity file " + filename);
}
String inputLine = "file://" + filePath.toString();
log.info("Inserting {} in {}.", inputLine, localInputTempFile);
Expand Down Expand Up @@ -291,7 +291,7 @@ private void hadoopIndex() {
log.error("Hadoop indexing job failed to run normally.", exception);
}
} catch (IOException e) {
log.error("Error on hadoop filesystem.", e);
log.error("Error indexing file " + filename + " with hadoop.", e);
}

}
Expand Down

0 comments on commit e01be32

Please sign in to comment.