Skip to content

Commit df91974

Browse files
author
Vladimir Kotal
committed
use LOGGER to report any exception
1 parent 8371e66 commit df91974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ History getHistory(File file, String sinceRevision) throws HistoryException {
581581
entries.add(historyEntry);
582582
}
583583
} catch (IOException | ForbiddenSymlinkException e) {
584-
e.printStackTrace();
584+
LOGGER.log(Level.WARNING, String.format("failed to get history for ''%s''", file), e);
585585
}
586586

587587
History result = new History(entries, renamedFiles);

0 commit comments

Comments
 (0)