Skip to content

Commit 4e45f81

Browse files
committed
ScriptFinder: change warn to debug
Having this as a WARN-level log statement is overly aggressive. No exceptions were thrown, and skipping a non-existant directory is expected behavior, thus this statement is downgraded to DEBUG-level.
1 parent 53c0b83 commit 4e45f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/script/ScriptFinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void findScripts(final List<ScriptInfo> scripts) {
8484
final HashSet<File> scriptFiles = new HashSet<File>();
8585
for (final File directory : directories) {
8686
if (!directory.exists()) {
87-
log.warn("Ignoring non-existent scripts directory: " +
87+
log.debug("Ignoring non-existent scripts directory: " +
8888
directory.getAbsolutePath());
8989
continue;
9090
}

0 commit comments

Comments
 (0)