Skip to content

Commit 60dec9c

Browse files
committed
Log error rather than using sysout
1 parent 523b8a7 commit 60dec9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/ui/swing/script/FileSystemTree.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public synchronized Node getChildAt(final int index) {
181181
try {
182182
return (Node) super.getChildAt(index);
183183
} catch (ArrayIndexOutOfBoundsException ae) {
184-
System.out.println("FileSystemTree: no child at index " + index + " for file at " + this.path);
184+
log.error("FileSystemTree: no child at index " + index + " for file at " + this.path, ae);
185185
return null;
186186
}
187187
}

0 commit comments

Comments
 (0)