Skip to content

Commit 168f682

Browse files
committed
Better error reporting from ChildLoader
1 parent 7b97bd8 commit 168f682

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/cloudbees/hudson/plugins/folder/ChildLoader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ public <V extends TopLevelItem> V loadItem(AbstractFolder<V> parent, File subdir
9191
item.onLoad(parent, name);
9292
return item;
9393
} catch (Exception e) {
94-
LOGGER.warning(() -> "could not load " + subdir + " due to " + e);
95-
LOGGER.log(Level.FINE, null, e);
94+
LOGGER.log(Level.WARNING, "could not load " + subdir, e);
9695
return null;
9796
}
9897
}

0 commit comments

Comments
 (0)