Skip to content

Commit c2040ee

Browse files
marwiiktcurdt
authored andcommitted
Only print filename rather than full exception message when ignoring broken symlink
1 parent 1f8236b commit c2040ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/vafer/jdeb/DataBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ private void createParentDirectories( String filename, String user, long uid, St
285285
// Get the offending file name from the exception to check
286286
// if it's a symlink.
287287
if (Files.isSymbolicLink(Paths.get(e.getFilePath())) && ignoreBrokenLinks) {
288-
console.info("Ignoring broken symlink " + e.getMessage());
288+
console.info("Ignoring broken symlink " + e.getFilePath());
289289
}
290290
else {
291291
finishedWithoutErrors = false;

0 commit comments

Comments
 (0)