diff --git a/server/utils/scandir.js b/server/utils/scandir.js index feaa2cb2..b7672c1e 100644 --- a/server/utils/scandir.js +++ b/server/utils/scandir.js @@ -144,7 +144,7 @@ async function scanFolder(libraryMediaType, folder, serverSettings = {}) { var libraryItemGrouping = groupFileItemsIntoLibraryItemDirs(libraryMediaType, fileItems) if (!Object.keys(libraryItemGrouping).length) { - Logger.error('Root path has no media folders', fileItems.length) + Logger.error(`Root path has no media folders: ${folderPath}`) return [] }